Commit 4c93bffb authored by Matthieu Bouron's avatar Matthieu Bouron Committed by Sebastian Dröge

avcodecmap: Make avdec_mjpeg requires a parsed input

Actually avdec_mjpeg does not deal well with incomplete buffers and try
to decode incomplete frames. A parser which will also acts as
an accumulator needs to be inserted before it.

https://bugzilla.gnome.org/show_bug.cgi?id=709352
parent 5b765501
......@@ -933,7 +933,7 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
case AV_CODEC_ID_LJPEG:
caps =
gst_ff_vid_caps_new (context, NULL, codec_id, encode, "image/jpeg",
NULL);
"parsed", G_TYPE_BOOLEAN, 1, NULL);
break;
case AV_CODEC_ID_SP5X:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment