wasapi: 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
df4c2f18bd
commit
b737bde9f6
@ -271,6 +271,8 @@ gst_mm_device_enumerator_constructed (GObject * object)
|
|||||||
{
|
{
|
||||||
GstMMDeviceEnumerator *self = GST_MM_DEVICE_ENUMERATOR (object);
|
GstMMDeviceEnumerator *self = GST_MM_DEVICE_ENUMERATOR (object);
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->constructed (object);
|
||||||
|
|
||||||
g_mutex_lock (&self->lock);
|
g_mutex_lock (&self->lock);
|
||||||
self->thread = g_thread_new ("GstMMDeviceEnumerator",
|
self->thread = g_thread_new ("GstMMDeviceEnumerator",
|
||||||
(GThreadFunc) gst_mm_device_enumerator_thread_func, self);
|
(GThreadFunc) gst_mm_device_enumerator_thread_func, self);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user