mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 02:28:27 +00:00
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
This commit is contained in:
parent
5b76550168
commit
4c93bffb21
1 changed files with 1 additions and 1 deletions
|
@ -933,7 +933,7 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
|
||||||
case AV_CODEC_ID_LJPEG:
|
case AV_CODEC_ID_LJPEG:
|
||||||
caps =
|
caps =
|
||||||
gst_ff_vid_caps_new (context, NULL, codec_id, encode, "image/jpeg",
|
gst_ff_vid_caps_new (context, NULL, codec_id, encode, "image/jpeg",
|
||||||
NULL);
|
"parsed", G_TYPE_BOOLEAN, 1, NULL);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AV_CODEC_ID_SP5X:
|
case AV_CODEC_ID_SP5X:
|
||||||
|
|
Loading…
Reference in a new issue