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>
Sun, 14 Apr 2013 12:53:23 +0000 (13:53 +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 fff0c5b9c3c80b78a31e84bcfd31b921f47c072f..c6af5bdf21c8e147e243a47b68a89c2d9bf45e05 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);