mfvideosrc: Fix negotiation when interlace-mode is specified
authorSeungha Yang <seungha@centricular.com>
Thu, 8 Jul 2021 10:03:06 +0000 (19:03 +0900)
committerSeungha Yang <seungha@centricular.com>
Thu, 8 Jul 2021 10:06:28 +0000 (19:06 +0900)
commitf57370c4db96827b061932aa958415c1eb62c100
treef1eb26a8fa6267f2e02f2f4da79dc2912e956d7f
parent64190e745298e0144b3683c2a227a13b2009c539
mfvideosrc: Fix negotiation when interlace-mode is specified

Given caps does not need to be strictly subset of device caps.
Allow accept it if device caps and requested caps can intersect

Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1619
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2384>
sys/mediafoundation/gstmfcapturewinrt.cpp
sys/mediafoundation/gstmfsourcereader.cpp