support svg channellogos

This commit is contained in:
TangoCash
2021-11-05 11:25:19 +01:00
committed by Thilo Graf
parent 37814bd1f8
commit 324f44e3d7

View File

@@ -544,7 +544,7 @@ void CPictureViewer::getSize(const char* name, int* width, int *height)
bool CPictureViewer::GetLogoName(const uint64_t &ChannelID, const std::string &ChannelName, std::string &name, int *width, int *height, int enable_special_logo, bool enable_event_logo)
{
std::string fileType[] = { ".png", ".jpg", ".gif" };
std::string fileType[] = { ".svg", ".png", ".jpg", ".gif" };
std::vector<std::string> v_path;
std::vector<std::string> v_file;
bool got_logo = false;