qtdemux: Try to build AAC codec-data whenever it's possible
authorSeungha Yang <seungha@centricular.com>
Tue, 14 Sep 2021 08:26:27 +0000 (17:26 +0900)
committerSeungha Yang <seungha@centricular.com>
Tue, 14 Sep 2021 08:55:13 +0000 (17:55 +0900)
commit4576abde6754468835148d223f8bb124667d312e
tree011863b96069c32e1f9fe1c225478d7cb3310a8b
parent44bfc00884b6a48f81570bce7f4f93ed46d552de
qtdemux: Try to build AAC codec-data whenever it's possible

AAC codec_data is a just collection of AAC profile, samplerate, and
channels. We can know samplerate and channels from parsed
SampleEntry data. Although the AAC profile is unknown there,
let's assume it as AAC-LC like we've been doing for the version 1
atom.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1082>
gst/isomp4/qtdemux.c