From defbe06d0e4231df1a4c999758ecad02f6be7537 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 15 May 2017 14:22:34 +0300 Subject: [PATCH] 1394: Sink the clock reference in the constructor This is now needed as GstClock does not do that internally anymore, because that broke bindings. https://bugzilla.gnome.org/show_bug.cgi?id=743062 --- ext/raw1394/gst1394clock.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/raw1394/gst1394clock.c b/ext/raw1394/gst1394clock.c index 977ba00..9a3411d 100644 --- a/ext/raw1394/gst1394clock.c +++ b/ext/raw1394/gst1394clock.c @@ -100,6 +100,9 @@ gst_1394_clock_new (const gchar * name) GST_1394_CLOCK (g_object_new (GST_TYPE_1394_CLOCK, "name", name, "clock-type", GST_CLOCK_TYPE_OTHER, NULL)); + /* Clear floating flag */ + gst_object_ref_sink (_1394clock); + return _1394clock; } -- 2.7.4