mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
outputselector: handle NULL pads in some cases
This commit is contained in:
parent
dcc5570f7f
commit
cac9e8fee2
1 changed files with 2 additions and 1 deletions
|
@ -571,7 +571,8 @@ gst_output_selector_handle_sink_event (GstPad * pad, GstEvent * event)
|
|||
/* Send other events to pending or active src pad */
|
||||
output_pad =
|
||||
sel->pending_srcpad ? sel->pending_srcpad : sel->active_srcpad;
|
||||
res = gst_pad_push_event (output_pad, event);
|
||||
if (output_pad)
|
||||
res = gst_pad_push_event (output_pad, event);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue