appsrc: Documentation fix in gst_app_src_push_sample_internal
authorVivia Nikolaidou <vivia@ahiru.eu>
Wed, 11 Apr 2018 09:18:55 +0000 (12:18 +0300)
committerVivia Nikolaidou <vivia@ahiru.eu>
Wed, 11 Apr 2018 09:28:26 +0000 (12:28 +0300)
Make it clear that it doesn't take ownership of the sample.

https://bugzilla.gnome.org/show_bug.cgi?id=795150

gst-libs/gst/app/gstappsrc.c

index 94ed6f7a909771c82cd6145335f03834dfc265ed..1328893e8bb1122ab7400df803c9691c0c2230bb 100644 (file)
@@ -1984,6 +1984,9 @@ gst_app_src_push_buffer_list (GstAppSrc * appsrc, GstBufferList * buffer_list)
  * previous caps that were set on appsrc will be replaced by the caps
  * associated with the sample if not equal.
  *
+ * This function does not take ownership of the
+ * sample so the sample needs to be unreffed after calling this function.
+ *
  * When the block property is TRUE, this function can block until free
  * space becomes available in the queue.
  *