matroskademux: Advertise codec-alpha in caps
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 23 Apr 2021 18:37:46 +0000 (14:37 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 11 May 2021 20:52:22 +0000 (16:52 -0400)
commitd877f7f81609019bf1e268b56db7b8e8464bdd82
tree1b83ecbc4fc6acae27cb90232bb01a65a6ed2476
parentb2e857efc67c474862c8ce3c5aa2dffbfec31015
matroskademux: Advertise codec-alpha in caps

This will be used to select the appropriate decoders. We also only attach the
GstVideoCodecAlphaMeta if the AlphaMode element is set, this is to stay on the
safe side and mimic what browsers (verified in Firefox and Chromium code) do.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/968>
gst/matroska/matroska-demux.c
gst/matroska/matroska-ids.c
gst/matroska/matroska-ids.h