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>
entry->bytes_per_frame = QT_UINT32 (alac_data + 12);
entry->n_channels = QT_UINT8 (alac_data + 21);
entry->rate = QT_UINT32 (alac_data + 32);
+ samplesize = QT_UINT8 (alac_data + 16 + 1);
}
}
gst_caps_set_simple (entry->caps,