mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
winrt: fix chaining up GObject's constructed virtual method
Fixes #4223 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8448>
This commit is contained in:
parent
39f4b1ee4d
commit
6c64794fca
1 changed files with 2 additions and 0 deletions
|
@ -311,6 +311,8 @@ gst_winrt_device_watcher_constructed (GObject * object)
|
||||||
GstWinRTDeviceWatcher *self = GST_WINRT_DEVICE_WATCHER (object);
|
GstWinRTDeviceWatcher *self = GST_WINRT_DEVICE_WATCHER (object);
|
||||||
GstWinRTDeviceWatcherPrivate *priv = self->priv;
|
GstWinRTDeviceWatcherPrivate *priv = self->priv;
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->constructed (object);
|
||||||
|
|
||||||
g_mutex_lock (&priv->lock);
|
g_mutex_lock (&priv->lock);
|
||||||
priv->thread = g_thread_new ("GstWinRTDeviceWatcher",
|
priv->thread = g_thread_new ("GstWinRTDeviceWatcher",
|
||||||
(GThreadFunc) gst_winrt_device_watcher_thread_func, self);
|
(GThreadFunc) gst_winrt_device_watcher_thread_func, self);
|
||||||
|
|
Loading…
Reference in a new issue