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:
He Junyan 2022-03-03 21:30:00 +08:00 committed by GStreamer Marge Bot
parent 4c8777667a
commit ccd1ed9cbc

View file

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