diff options
author | Brendan Long <b.long@cablelabs.com> | 2013-10-30 17:02:35 -0500 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-02-06 22:50:53 +0100 |
commit | f85c1c46488abf2814c8ce51a892a4f5f9ab8b98 (patch) | |
tree | 6446b769e33ec83eb285f216419f0cfdc22a94f0 /gst/gsttask.c | |
parent | f6054722309c3702fbe40ccbf009b8f2cb37e4e2 (diff) | |
download | gstreamer-f85c1c46488abf2814c8ce51a892a4f5f9ab8b98.tar.gz |
gst: clear floating references for GstTask, GstTaskPool and GstCollectPads
https://bugzilla.gnome.org/show_bug.cgi?id=710342
Diffstat (limited to 'gst/gsttask.c')
-rw-r--r-- | gst/gsttask.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/gsttask.c b/gst/gsttask.c index 993eb7094e..cf1decf043 100644 --- a/gst/gsttask.c +++ b/gst/gsttask.c @@ -197,6 +197,9 @@ gst_task_init (GstTask * task) g_mutex_lock (&pool_lock); task->priv->pool = gst_object_ref (klass->pool); g_mutex_unlock (&pool_lock); + + /* clear floating flag */ + gst_object_ref_sink (task); } static void |