diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2013-07-10 11:10:13 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2013-07-10 11:10:13 +0100 |
commit | 16021e455099176d95a8cbfcf08a9f25ff6f3690 (patch) | |
tree | f427a26d8e94c95ff8c408477d3137dc21e5b66b | |
parent | 4d86a1f050fb1b0fb3ff274ac2df9a966c709385 (diff) |
ffdec_h264: fix garbled video with RTP/RTSP streams0.10
With the new port to the video decoder base class we now
require full access units, so add that to the caps and
let the parser in front take care of that.
Fixes playback of
rtsp://media1.law.harvard.edu/Media/policy_d/2011/12/06_cfe.mov
https://bugzilla.gnome.org/show_bug.cgi?id=677905
-rw-r--r-- | ext/ffmpeg/gstffmpegcodecmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/ffmpeg/gstffmpegcodecmap.c b/ext/ffmpeg/gstffmpegcodecmap.c index f80b861..f4ad61b 100644 --- a/ext/ffmpeg/gstffmpegcodecmap.c +++ b/ext/ffmpeg/gstffmpegcodecmap.c @@ -922,7 +922,8 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id, case CODEC_ID_H264: caps = - gst_ff_vid_caps_new (context, codec_id, encode, "video/x-h264", NULL); + gst_ff_vid_caps_new (context, codec_id, encode, "video/x-h264", + "alignment", G_TYPE_STRING, "au", NULL); break; case CODEC_ID_INDEO5: |