mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
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
This commit is contained in:
parent
bd2ce0fb67
commit
defbe06d0e
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue