mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
gst/gstpad.c (gst_pad_collectv): Fix the return line.
Original commit message from CVS: 2004-11-07 Martin Soto <martinsoto@users.sourceforge.net> * gst/gstpad.c (gst_pad_collectv): Fix the return line. (gst_pad_collect_valist): Fix gst_pad_collect_array invocation. Apparently this functions were never tested.
This commit is contained in:
parent
727725d959
commit
7bf7d80452
1 changed files with 3 additions and 2 deletions
|
@ -3366,7 +3366,7 @@ gst_pad_collectv (GstPad ** selected, const GList * padlist)
|
|||
}
|
||||
pads[i] = NULL;
|
||||
|
||||
return gst_pad_collect_array (GST_SCHEDULER (element), selected, pads);
|
||||
return gst_pad_collect_array (GST_ELEMENT_SCHED (element), selected, pads);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -3425,7 +3425,8 @@ gst_pad_collect_valist (GstPad ** selected, GstPad * pad, va_list var_args)
|
|||
padlist[i++] = pad;
|
||||
pad = va_arg (var_args, GstPad *);
|
||||
}
|
||||
return gst_pad_collect_array (GST_SCHEDULER (element), selected, padlist);
|
||||
padlist[i] = NULL;
|
||||
return gst_pad_collect_array (GST_ELEMENT_SCHED (element), selected, padlist);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue