/**
* SECTION:gsttaskpool
+ * @title: GstTaskPool
* @short_description: Pool of GStreamer streaming threads
* @see_also: #GstTask, #GstPad
*
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;
}
* @pool: a #GstTaskPool
* @id: the id
*
- * Join a task and/or return it to the pool. @id is the id obtained from
+ * Join a task and/or return it to the pool. @id is the id obtained from
* gst_task_pool_push().
*/
void