Commit 3c47f584 authored by Wim Taymans's avatar Wim Taymans
Browse files

avdec: require alignment=au for h264

Because we don't use a parser anymore we need to make sure that we feed the
decoder with full frames. For h264, require that we are aligned on access
units.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680540
parent 2d458ca9
......@@ -918,7 +918,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