Skip to content

filesink: Fix for updating the index of memory to write in the next iteration

Seungha Yang requested to merge seungha.yang/gstreamer:fix-filesink-more into master
current_buf_mem_idx stands for the index of memory of the corresponding
buffer which is scheduled to be written in the next iteration.
If all memory objects were scheduled to be written in the current
iteration, reset the index to zero so that starting from the first
memory object of the next buffer.

cc: @slomo

Merge request reports