mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
mediafoundation: Chain up from GObject::constructed
... so that GstTracer can trace it Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3479>
This commit is contained in:
parent
b9b3a9c4e1
commit
581481c12f
2 changed files with 4 additions and 0 deletions
|
@ -167,6 +167,8 @@ gst_mf_source_reader_constructed (GObject * object)
|
||||||
while (!g_main_loop_is_running (self->loop))
|
while (!g_main_loop_is_running (self->loop))
|
||||||
g_cond_wait (&self->cond, &self->lock);
|
g_cond_wait (&self->cond, &self->lock);
|
||||||
g_mutex_unlock (&self->lock);
|
g_mutex_unlock (&self->lock);
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->constructed (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|
|
@ -94,6 +94,8 @@ gst_win32_device_watcher_constructed (GObject * object)
|
||||||
while (!g_main_loop_is_running (self->loop))
|
while (!g_main_loop_is_running (self->loop))
|
||||||
g_cond_wait (&self->cond, &self->lock);
|
g_cond_wait (&self->cond, &self->lock);
|
||||||
g_mutex_unlock (&self->lock);
|
g_mutex_unlock (&self->lock);
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (parent_class)->constructed (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue