mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
proxysink: event_function needs to handle the event when it is disconnecetd from proxysrc
without this a disconneted proxysink fail when goes to play with error: Internal data stream error. streaming stopped, reason error (-5) Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1508>
This commit is contained in:
parent
91f9490529
commit
fe3a0c2c90
1 changed files with 3 additions and 1 deletions
|
@ -226,8 +226,10 @@ gst_proxy_sink_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
|||
self->pending_sticky_events = TRUE;
|
||||
ret = TRUE;
|
||||
}
|
||||
} else
|
||||
} else {
|
||||
gst_event_unref (event);
|
||||
ret = TRUE;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue