mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
pad-monitor: Handle case where internal pad iterator is NULL
Can happen with inputselector
This commit is contained in:
parent
eca452978a
commit
501be30379
1 changed files with 6 additions and 0 deletions
|
@ -870,6 +870,12 @@ static void
|
|||
iter =
|
||||
gst_pad_iterate_internal_links (GST_VALIDATE_PAD_MONITOR_GET_PAD
|
||||
(monitor));
|
||||
if (iter == NULL) {
|
||||
/* inputselector will return NULL if the sinkpad is not the active one .... */
|
||||
GST_FIXME_OBJECT (GST_VALIDATE_PAD_MONITOR_GET_PAD
|
||||
(monitor), "No iterator");
|
||||
return;
|
||||
}
|
||||
done = FALSE;
|
||||
while (!done) {
|
||||
GValue value = { 0, };
|
||||
|
|
Loading…
Reference in a new issue