pad: fix blocking probe emission
[platform/upstream/gstreamer.git] / gst / gsttask.h
index 21784b7..02b2e28 100644 (file)
@@ -116,7 +116,7 @@ typedef enum {
  * @leave_thread: a thread is exiting, this is called when the thread is about
  *   to leave its function
  *
- * Custom GstTask thread callback functions that can be installed. 
+ * Custom GstTask thread callback functions that can be installed.
  *
  * Since: 0.10.24
  */
@@ -175,7 +175,7 @@ void            gst_task_cleanup_all    (void);
 
 GType           gst_task_get_type       (void);
 
-GstTask*        gst_task_create         (GstTaskFunction func, gpointer data);
+GstTask*        gst_task_new            (GstTaskFunction func, gpointer data);
 void            gst_task_set_lock       (GstTask *task, GStaticRecMutex *mutex);
 void            gst_task_set_priority   (GstTask *task, GThreadPriority priority);