Commit acf0d50b authored by Wim Taymans's avatar Wim Taymans
Browse files

basesink: handle lists correctly

parent a1d7bd02
...@@ -3323,7 +3323,7 @@ gst_base_sink_chain_list (GstPad * pad, GstObject * parent, ...@@ -3323,7 +3323,7 @@ gst_base_sink_chain_list (GstPad * pad, GstObject * parent,
result = GST_FLOW_OK; result = GST_FLOW_OK;
for (i = 0; i < len; i++) { for (i = 0; i < len; i++) {
buffer = gst_buffer_list_get (list, 0); buffer = gst_buffer_list_get (list, i);
result = gst_base_sink_chain_main (basesink, pad, result = gst_base_sink_chain_main (basesink, pad,
gst_buffer_ref (buffer)); gst_buffer_ref (buffer));
if (result != GST_FLOW_OK) if (result != GST_FLOW_OK)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment