mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
decodebin: Fix list iteration
We were using the wrong variable ... CID #1316477
This commit is contained in:
parent
eaf9ca90c7
commit
7fc856ff5c
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue