matroska-mux: Handle multiview-mode/flags caps fields correctly when checking caps...
authorSebastian Dröge <sebastian@centricular.com>
Tue, 1 Mar 2022 18:56:43 +0000 (20:56 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 2 Mar 2022 10:27:47 +0000 (10:27 +0000)
commit1b851ae23f542542dbaa470c80886ae1d7ad6e79
tree6d69ccdee6bffa5ecd144348f9a179b9bc24b255
parent303d2a9ab78a4aa92675c7c608bc69708db7ed4e
matroska-mux: Handle multiview-mode/flags caps fields correctly when checking caps equality

Not having these fields is equivalent with them being mono/0 so consider
them like that. The generic caps functions are not aware of these
semantics and would consider the caps different, causing a negotiation
failure when caps are changing from caps with to caps without or the
other way around.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1826>
subprojects/gst-plugins-good/gst/matroska/matroska-mux.c