Skip to content

basesrc: Clear submitted buffer lists consistently with buffers

And handle the case of a NULL buffer being returned cleanly, which is valid as long as a buffer list is returned instead. Previously this would cause an assertion because of calling gst_buffer_unref() with NULL.

Merge request reports