mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
inputselector: Don't dereference NULL pointer
CID 1262286
This commit is contained in:
parent
a31c538883
commit
29d8b9df8b
1 changed files with 1 additions and 1 deletions
|
@ -1386,7 +1386,7 @@ gst_input_selector_set_active_pad (GstInputSelector * self, GstPad * pad)
|
|||
GST_DEBUG_OBJECT (self, "New active pad is %" GST_PTR_FORMAT,
|
||||
self->active_sinkpad);
|
||||
|
||||
if (old != new && new->eos && !new->eos_sent) {
|
||||
if (old != new && new && new->eos && !new->eos_sent) {
|
||||
self->eos = TRUE;
|
||||
GST_INPUT_SELECTOR_BROADCAST (self);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue