summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2013-07-10 11:10:13 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2013-07-10 11:10:13 +0100
commit16021e455099176d95a8cbfcf08a9f25ff6f3690 (patch)
treef427a26d8e94c95ff8c408477d3137dc21e5b66b
parent4d86a1f050fb1b0fb3ff274ac2df9a966c709385 (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.c3
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: