mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 07:02:53 +00:00
mfdevice: Unregister device notification callback on stop
... as intended Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8405>
This commit is contained in:
parent
972da9cab9
commit
bf98e200b2
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ gst_win32_device_watcher_stop (GstWin32DeviceWatcher * watcher)
|
|||
data.handled = FALSE;
|
||||
|
||||
g_main_context_invoke (watcher->context,
|
||||
(GSourceFunc) register_device_notification, &data);
|
||||
(GSourceFunc) unregister_device_notification, &data);
|
||||
g_mutex_lock (&watcher->lock);
|
||||
while (!data.handled)
|
||||
g_cond_wait (&watcher->cond, &watcher->lock);
|
||||
|
|
Loading…
Reference in a new issue