mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
driver/pictureviewer/pictureviewer.cpp: change supported formats order
Origin commit data
------------------
Commit: b2a7aabe15
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-09-27 (Sat, 27 Sep 2014)
This commit is contained in:
@@ -55,6 +55,9 @@ void CPictureViewer::add_format (int (*picsize) (const char *, int *, int *, int
|
||||
|
||||
void CPictureViewer::getSupportedImageFormats(std::vector<std::string>& exts)
|
||||
{
|
||||
#ifdef FBV_SUPPORT_JPEG
|
||||
exts.push_back(".jpg");
|
||||
#endif
|
||||
#ifdef FBV_SUPPORT_PNG
|
||||
exts.push_back(".png");
|
||||
#endif
|
||||
@@ -62,7 +65,6 @@ void CPictureViewer::getSupportedImageFormats(std::vector<std::string>& exts)
|
||||
exts.push_back(".gif");
|
||||
#endif
|
||||
#ifdef FBV_SUPPORT_JPEG
|
||||
exts.push_back(".jpg");
|
||||
exts.push_back(".jpeg");
|
||||
#endif
|
||||
#ifdef FBV_SUPPORT_BMP
|
||||
|
Reference in New Issue
Block a user