mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +00:00
streamsynchronizer: Only send GAP events out of source pads
If streamsynchronizer is waiting on the stream's sinkpad and srcpad at the same time, it can happen that the GAP event is otherwise sent out of the sinkpad, which is in the wrong direction. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7950>
This commit is contained in:
parent
13f2b7dd74
commit
05985247d1
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ gst_stream_synchronizer_wait (GstStreamSynchronizer * self, GstPad * pad)
|
|||
break;
|
||||
}
|
||||
|
||||
if (stream->send_gap_event) {
|
||||
if (stream->send_gap_event && GST_PAD_IS_SRC (pad)) {
|
||||
GstEvent *event;
|
||||
|
||||
if (!GST_CLOCK_TIME_IS_VALID (stream->segment.position)) {
|
||||
|
|
Loading…
Reference in a new issue