mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
decklink: 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
ea2959bd88
commit
c40b8a894d
1 changed files with 2 additions and 0 deletions
|
@ -1211,6 +1211,8 @@ gst_decklink_clock_new (const gchar * name)
|
|||
GST_DECKLINK_CLOCK (g_object_new (GST_TYPE_DECKLINK_CLOCK, "name", name,
|
||||
"clock-type", GST_CLOCK_TYPE_OTHER, NULL));
|
||||
|
||||
gst_object_ref_sink (self);
|
||||
|
||||
return GST_CLOCK_CAST (self);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue