Commit 16021e45 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

ffdec_h264: fix garbled video with RTP/RTSP streams

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
parent 4d86a1f0
......@@ -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:
......
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