jpegparse: accept any jpeg input - parsed, unparsed or unmarked
authorAlexander Olsson <alexo@axis.com>
Fri, 12 Apr 2013 15:01:38 +0000 (17:01 +0200)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 13 Apr 2013 12:54:52 +0000 (13:54 +0100)
The src element may not include information about whether
the data is parsed or not. Hence do not require parsed=false.

Fixes multipartdemux ! jpegparse ! ...

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

gst/jpegformat/gstjpegparse.c

index 35fbfb4..e4bc2bf 100644 (file)
@@ -70,7 +70,7 @@ static GstStaticPadTemplate gst_jpeg_parse_sink_pad_template =
 GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_SINK,
     GST_PAD_ALWAYS,
-    GST_STATIC_CAPS ("image/jpeg, parsed = (boolean) false")
+    GST_STATIC_CAPS ("image/jpeg")
     );
 
 GST_DEBUG_CATEGORY_STATIC (jpeg_parse_debug);