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
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);
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