qtdemux: extract bit depth from codec data for ALAC
authorTim-Philipp Müller <tim@centricular.com>
Fri, 31 Jul 2020 10:05:02 +0000 (11:05 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 31 Jul 2020 10:05:02 +0000 (11:05 +0100)
commita27e171bfaaef979026bc15244968cca38893ddf
tree0d722b8bdbc2e0641d153596d1374712dc37a64f
parent516db3f1d0bee38d4b4a961fb696653e6dac91e8
qtdemux: extract bit depth from codec data for ALAC

The info in the sound sample description might not be
accurate if it's an older version atom.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/771

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