decodebin: Fix list iteration

We were using the wrong variable ...

CID #1316477
This commit is contained in:
Edward Hervey 2015-08-16 12:53:02 +02:00
parent eaf9ca90c7
commit 7fc856ff5c

View file

@ -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));
}