[vlmc-devel] Media: Don't accept .gif images, they fail to play on import.

Rohit Yadav git at videolan.org
Tue Aug 2 03:50:13 CEST 2011


vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Tue Aug  2 07:35:47 2011 +0530| [ca68369c815e70376b71152e2523c3b1af93ed1b] | committer: Rohit Yadav

Media: Don't accept .gif images, they fail to play on import.
Fixes #133. All jpegs and pngs I've tested works fine.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=ca68369c815e70376b71152e2523c3b1af93ed1b
---

 src/Media/Media.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Media/Media.cpp b/src/Media/Media.cpp
index d0dcd89..3695d59 100644
--- a/src/Media/Media.cpp
+++ b/src/Media/Media.cpp
@@ -42,7 +42,7 @@ const QString   Media::VideoExtensions = "*.avi *.3gp *.amv *.asf *.divx *.dv *.
                                          "*.mts *.mxf *.nsv *.nuv *.ogg *.ogm *.ogv *.ogx *.ps "
                                          "*.rec *.rm *.rmvb *.tod *.ts *.vob *.vro *.webm *.wmv";
 
-const QString   Media::ImageExtensions = "*.gif *.png *.jpg *.jpeg";
+const QString   Media::ImageExtensions = "*.png *.jpg *.jpeg";
 
 const QString   Media::AudioExtensions = "*.a52 *.aac *.ac3 *.aiff *.amr *.aob *.ape "
                                          "*.dts *.flac *.it *.m4a *.m4p *.mid *.mka *.mlp "



More information about the Vlmc-devel mailing list