gstgdkpixbufdec: stop pretending to decode gifs.
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Tue, 13 Jun 2017 16:51:32 +0000 (18:51 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Thu, 12 Oct 2017 20:02:04 +0000 (22:02 +0200)
If you can't decode an animated gif, you can't decode a gif,
so stop squatting GST_RANK_SECONDARY for that format, libav
does a better job.

https://bugzilla.gnome.org/show_bug.cgi?id=784683

ext/gdk_pixbuf/gstgdkpixbufdec.c

index 1598c53..09211bf 100644 (file)
@@ -38,7 +38,7 @@ static GstStaticPadTemplate gst_gdk_pixbuf_dec_sink_template =
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("image/png; "
         /* "image/jpeg; " disabled because we can't handle MJPEG */
-        "image/gif; "
+        /*"image/gif; " disabled because we can't handle animated gifs */
         "image/x-icon; "
         "application/x-navi-animation; "
         "image/x-cmu-raster; "