ext/gdk_pixbuf/gstgdkpixbuf.c: Leave JPEG decoding to our jpegdec plugin. gdkpixbufde...
authorTim-Philipp Müller <tim@centricular.net>
Tue, 18 Apr 2006 18:14:34 +0000 (18:14 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 18 Apr 2006 18:14:34 +0000 (18:14 +0000)
Original commit message from CVS:
* ext/gdk_pixbuf/gstgdkpixbuf.c:
Leave JPEG decoding to our jpegdec plugin. gdkpixbufdec cannot
handle MJPEG streams and might be autoplugged for those if the
user doesn't have jpegdec installed (resulting in a cryptic error
message about huffman tables). Better to disable JPEG decoding here
and let the user figure out that she needs to install jpegdec.

ChangeLog
ext/gdk_pixbuf/gstgdkpixbuf.c

index 25d96b9..0058f59 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2006-04-18  Tim-Philipp Müller  <tim at centricular dot net>
 
+       * ext/gdk_pixbuf/gstgdkpixbuf.c:
+         Leave JPEG decoding to our jpegdec plugin. gdkpixbufdec cannot
+         handle MJPEG streams and might be autoplugged for those if the
+         user doesn't have jpegdec installed (resulting in a cryptic error
+         message about huffman tables). Better to disable JPEG decoding here
+         and let the user figure out that she needs to install jpegdec.
+
+2006-04-18  Tim-Philipp Müller  <tim at centricular dot net>
+
        * ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_sink_setcaps),
        (gst_gdk_pixbuf_class_init), (gst_gdk_pixbuf_init),
        (gst_gdk_pixbuf_flush), (gst_gdk_pixbuf_chain):
index c29ae46..d0e6fc3 100644 (file)
@@ -48,7 +48,7 @@ static GstStaticPadTemplate gst_gdk_pixbuf_sink_template =
     GST_PAD_SINK,
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("image/png; "
-        "image/jpeg; "
+        /* "image/jpeg; " disabled because we can't handle MJPEG */
         "image/gif; "
         "image/x-icon; "
         "application/x-navi-animation; "