Search code examples
gstreamergstreamer-1.0gstreamer-0.10

Push GstBuffer list to next downstream element


I have a GstBufferList *list inside the upstream element and wanted to pass the same to the downstream element for further processing.

Is there any way in Gstreamer to pass this Gstbufferlist to the next element?


Solution

  • https://gstreamer.freedesktop.org/documentation/gstreamer/gstpad.html?gi-language=c#gst_pad_push_list

    gst_pad_push_list() pushes GstBufferList downstream. If the downstream pad has a chain_list implementation it will get the complete list - if not it will call the chain function with each GstBuffer individually.