From 324f44e3d730f0c4a1d67c263fd613b401d0dfa8 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Fri, 5 Nov 2021 11:25:19 +0100 Subject: [PATCH] support svg channellogos --- src/driver/pictureviewer/pictureviewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/pictureviewer/pictureviewer.cpp b/src/driver/pictureviewer/pictureviewer.cpp index 79d9e62cf..24ff42220 100644 --- a/src/driver/pictureviewer/pictureviewer.cpp +++ b/src/driver/pictureviewer/pictureviewer.cpp @@ -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 v_path; std::vector v_file; bool got_logo = false;