gst/: Small comment and documentation update.
authorWim Taymans <wim.taymans@gmail.com>
Fri, 5 Oct 2007 14:44:18 +0000 (14:44 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 5 Oct 2007 14:44:18 +0000 (14:44 +0000)
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_pause_task):
* gst/gstutils.c:
Small comment and documentation update.

ChangeLog
gst/gstpad.c
gst/gstutils.c

index ff0952c..72f4f38 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
 
+       * gst/gstpad.c: (gst_pad_pause_task):
+       * gst/gstutils.c:
+       Small comment and documentation update.
+
+2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
+
        * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
        (gst_base_src_set_live), (gst_base_src_is_live),
        (gst_base_src_query_latency), (gst_base_src_perform_seek),
index f06f4e9..5067cb9 100644 (file)
@@ -4400,6 +4400,8 @@ gst_pad_pause_task (GstPad * pad)
   gst_task_pause (task);
   GST_OBJECT_UNLOCK (pad);
 
+  /* wait for task function to finish, this lock is recursive so it does nothing
+   * when the pause is called from the task itself */
   GST_PAD_STREAM_LOCK (pad);
   GST_PAD_STREAM_UNLOCK (pad);
 
index 2e13306..f745659 100644 (file)
@@ -2190,7 +2190,8 @@ gst_object_default_error (GstObject * source, GError * error, gchar * debug)
  * @...: additional elements to add to the bin
  *
  * Adds a NULL-terminated list of elements to a bin.  This function is
- * equivalent to calling gst_bin_add() for each member of the list.
+ * equivalent to calling gst_bin_add() for each member of the list. The return
+ * value of each gst_bin_add() is ignored.
  */
 void
 gst_bin_add_many (GstBin * bin, GstElement * element_1, ...)