mfvideosrc: Use only the first video stream per device
authorSeungha Yang <seungha@centricular.com>
Tue, 6 Oct 2020 20:05:25 +0000 (05:05 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 8 Oct 2020 20:43:58 +0000 (20:43 +0000)
commit20d9283e3d3d695f6861260a02f24c466ed6f1b2
treec7986263723b7382e88b40e2e5eac1ce1698a267
parent9279326d8a49bad152c0d7f21815ef1e45e5f1e7
mfvideosrc: Use only the first video stream per device

Non-first video stream might not be working with current
implementation. It could be non-video (e.g., photo source) and then
ReadSample() might be blocked forever.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1661>
sys/mediafoundation/gstmfsourcereader.cpp