bufferlist: fix example
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 29 Jun 2009 09:55:14 +0000 (11:55 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 29 Jun 2009 09:55:14 +0000 (11:55 +0200)
The _do function now takes user_data in all cases.

gst/gstbufferlist.c

index 473b6a30fae5c55926633b0521c74674875a9483..3a5d68642301fdd3584f65756226fc40347685e0 100644 (file)
  *      buf = gst_buffer_list_iterator_next (it);
  *      if (buf != NULL) {
  *        buf = gst_buffer_list_iterator_do (it,
- *            (GstBufferListDoFunction) gst_mini_object_make_writable);
+ *            (GstBufferListDoFunction) gst_mini_object_make_writable, NULL);
  *        modify_data (GST_BUFFER_DATA (buf));
  *      }
  *    }