projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd2ce0f
)
1394: Sink the clock reference in the constructor
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 15 May 2017 11:22:34 +0000
(14:22 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 17 May 2017 07:41:01 +0000
(10:41 +0300)
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
patch
|
blob
|
history
diff --git
a/ext/raw1394/gst1394clock.c
b/ext/raw1394/gst1394clock.c
index
977ba00
..
9a3411d
100644
(file)
--- 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;
}