support svg channellogos

Origin commit data
------------------
Branch: ni/coolstream
Commit: 5d898149ec
Author: TangoCash <eric@loxat.de>
Date: 2021-11-05 (Fri, 05 Nov 2021)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2021-11-05 11:25:19 +01:00
committed by vanhofen
parent 1cb0379f76
commit 59fac51de7

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;