summaryrefslogtreecommitdiff
path: root/ext/raw1394/gst1394clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/raw1394/gst1394clock.c')
-rw-r--r--ext/raw1394/gst1394clock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/raw1394/gst1394clock.c b/ext/raw1394/gst1394clock.c
index 977ba00b3..9a3411dd4 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;
}