qt: always update the sink_retrieved flag when the sink retrieves
authorMatthew Waters <matthew@centricular.com>
Thu, 12 Aug 2021 12:57:01 +0000 (22:57 +1000)
committerMatthew Waters <matthew@centricular.com>
Thu, 12 Aug 2021 12:57:01 +0000 (22:57 +1000)
commitcfd4a9a6d9a677ac07b5a4dc1678ab250d705a68
tree1eaf80b443923730a68c019a711df383c3645837
parent862aa25e5314891639b5e2e682af1200c0172cf1
qt: always update the sink_retrieved flag when the sink retrieves

Fixes a case where adding a qmlgloverlay element after an existing
qmlglsink elements was already in the pipeline would create an entirely
separate GstGLDisplay pointing to the same underlying display resource.

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