mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
ivfparse: Set the alignment to tu for AV1 stream.
Just do the same as other demux. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1837>
This commit is contained in:
parent
4c8777667a
commit
ccd1ed9cbc
1 changed files with 3 additions and 0 deletions
|
@ -238,6 +238,9 @@ gst_ivf_parse_update_src_caps (GstIvfParse * ivf)
|
|||
ivf->fps_d, NULL);
|
||||
}
|
||||
|
||||
if (ivf->fourcc == GST_MAKE_FOURCC ('A', 'V', '0', '1'))
|
||||
gst_caps_set_simple (caps, "alignment", G_TYPE_STRING, "tu", NULL);
|
||||
|
||||
gst_pad_set_caps (GST_BASE_PARSE_SRC_PAD (ivf), caps);
|
||||
gst_caps_unref (caps);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue