From 90229af34c3e8d16d340de8309b12f8681da584b Mon Sep 17 00:00:00 2001 From: Alexander Olsson Date: Fri, 12 Apr 2013 17:01:38 +0200 Subject: [PATCH] jpegparse: accept any jpeg input - parsed, unparsed or unmarked 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/jpegformat/gstjpegparse.c b/gst/jpegformat/gstjpegparse.c index 35fbfb4c4b..e4bc2bfaf8 100644 --- a/gst/jpegformat/gstjpegparse.c +++ b/gst/jpegformat/gstjpegparse.c @@ -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);