mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
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
This commit is contained in:
parent
2d458ca951
commit
3c47f584e2
1 changed files with 2 additions and 1 deletions
|
@ -918,7 +918,8 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
|
||||||
|
|
||||||
case CODEC_ID_H264:
|
case CODEC_ID_H264:
|
||||||
caps =
|
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;
|
break;
|
||||||
|
|
||||||
case CODEC_ID_INDEO5:
|
case CODEC_ID_INDEO5:
|
||||||
|
|
Loading…
Reference in a new issue