static void
gst_task_pool_init (GstTaskPool * pool)
{
- /* clear floating flag */
- gst_object_ref_sink (pool);
}
#ifndef GST_DISABLE_GST_DEBUG
{
GstTaskPool *pool;
- pool = g_object_newv (GST_TYPE_TASK_POOL, 0, NULL);
+ pool = g_object_new (GST_TYPE_TASK_POOL, NULL);
+
+ /* clear floating flag */
+ gst_object_ref_sink (pool);
return pool;
}