qmlglsrc: Stop when basesrc calls unlock()
authorJan Schmidt <jan@centricular.com>
Tue, 20 Dec 2022 15:31:05 +0000 (02:31 +1100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 21 Dec 2022 12:21:32 +0000 (12:21 +0000)
commit2b09f7a0062914e9ac04defe7f317566c4943109
tree9d35cb64452d7144f7d8f1558a9947aed94bd23a
parent7050b00c109e6c404edd50433e4ca7a11a31db78
qmlglsrc: Stop when basesrc calls unlock()

Instead of stopping capture when the state changes,
handle other cases of basesrc stopping capture by - such
as handling an EOS event - by implementing an unlock()
method

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3612>
subprojects/gst-plugins-good/ext/qt/gstqtsrc.cc