diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-05-02 14:36:50 +0200 |
---|---|---|
committer | Wim Taymans <wim@metal.(none)> | 2009-05-11 22:35:09 +0200 |
commit | 84c5db2635c44fa7c4004b05401f400ee6bad382 (patch) | |
tree | 9740300b646c7a6414285340e95c3957f2d0f3c2 /gst/gstsystemclock.c | |
parent | 54401df78c138e1dcf90b984978dd785416d1f1a (diff) | |
download | gstreamer-84c5db2635c44fa7c4004b05401f400ee6bad382.tar.gz |
Use new _ref_sink when we can
Diffstat (limited to 'gst/gstsystemclock.c')
-rw-r--r-- | gst/gstsystemclock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/gstsystemclock.c b/gst/gstsystemclock.c index 41398f7817..9c6e16f2e0 100644 --- a/gst/gstsystemclock.c +++ b/gst/gstsystemclock.c @@ -268,8 +268,7 @@ gst_system_clock_obtain (void) /* we created the global clock; take ownership so * we can hand out instances later */ - gst_object_ref (clock); - gst_object_sink (GST_OBJECT (clock)); + gst_object_ref_sink (clock); _the_system_clock = clock; g_static_mutex_unlock (&_gst_sysclock_mutex); |