mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
support svg channellogos
This commit is contained in:
@@ -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)
|
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_path;
|
||||||
std::vector<std::string> v_file;
|
std::vector<std::string> v_file;
|
||||||
bool got_logo = false;
|
bool got_logo = false;
|
||||||
|
Reference in New Issue
Block a user