GNOME Bugzilla – Bug 747438
doc: bufferlist: Update document for return value of gst_buffer_list_get
Last modified: 2015-04-08 08:47:14 UTC
Return buffer become invalid if it got removed from list using call gst_buffer_list_remove or gst_buffer_list_foreach. As per the documentation the return value is valid as long as @list is valid. But in case of modification of list using gst_buffer_list_remove or gst_buffer_list_foreach function, @list is still valid but return buffer become invalid if it got removed.
Created attachment 301049 [details] [review] doc: bufferlist: Updated document for return value of gst_buffer_list_get Return buffer remains valid as long as list is valid and buffer is not removed from list.
This seems common sense to me, not sure it needs to be explicitly documented, but why not: commit c547e010187efde0615d625339936466def84282 Author: Prashant Gotarne <ps.gotarne@samsung.com> Date: Tue Apr 7 14:34:58 2015 +0530 bufferlist: minor docs addition for gst_buffer_list_get() Return buffer remains valid as long as list is valid and buffer is not removed from list. https://bugzilla.gnome.org/show_bug.cgi?id=747438
Comment on attachment 301049 [details] [review] doc: bufferlist: Updated document for return value of gst_buffer_list_get Committed with form->from