Commit 7fc856ff authored by Edward Hervey's avatar Edward Hervey

decodebin: Fix list iteration

We were using the wrong variable ...

CID #1316477
parent eaf9ca90
......@@ -2048,7 +2048,7 @@ demuxer_source_pad_probe (GstPad * pad, GstPadProbeInfo * info,
GList *tmp2;
GstDecodeGroup *tmpgroup = (GstDecodeGroup *) tmp->data;
if (tmpgroup != group) {
for (tmp2 = tmpgroup->reqpads; tmp; tmp = tmp->next) {
for (tmp2 = tmpgroup->reqpads; tmp2; tmp2 = tmp2->next) {
GstPad *reqpad = (GstPad *) tmp2->data;
gst_pad_send_event (reqpad, gst_event_ref (event));
}
......
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