matroskademux: fix AV1 caps when there's no codec_data
authorTim-Philipp Müller <tim@centricular.com>
Mon, 25 Feb 2019 11:23:56 +0000 (11:23 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 1 Mar 2019 17:37:55 +0000 (17:37 +0000)
commit899d0c4b3bdcdf91744c8ffb04b0a19dcdc5043d
tree67839a7843d4025fe480622d671ae09bf0d0ae85
parent83b45abe74820935315714268dd114d42215b693
matroskademux: fix AV1 caps when there's no codec_data

There is no "byte-stream" format for AV1 in Matroska, this
was probably cargo-culted from H.264. codec_data / CodecPrivate
is now mandatory for AV1 in Matroska[*], but there are sample
files out there which don't have it (e.g. some Elecard ones).

[*] https://github.com/Matroska-Org/matroska-specification/blob/master/codec/av1.md#codecprivate-1
gst/matroska/matroska-demux.c