diff options
author | Matthieu Bouron <matthieu.bouron@collabora.com> | 2013-10-03 15:25:30 +0100 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2013-10-04 10:35:48 +0200 |
commit | 80981f0a919278f08fa7d0637d33b1f8505d0c9e (patch) | |
tree | 1829b87d1dd2ce7946f17ea24b86c77a09e664de | |
parent | caa1e3db38ebf7ce553f5cb4ffdd73381299d3cb (diff) |
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
-rw-r--r-- | ext/libav/gstavcodecmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libav/gstavcodecmap.c b/ext/libav/gstavcodecmap.c index 00816ed..26cdd3e 100644 --- a/ext/libav/gstavcodecmap.c +++ b/ext/libav/gstavcodecmap.c @@ -913,7 +913,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: |