rtsp-media: Only wait for sender streams to block
When prerolling / blocking an RTSP media, don't consider receiver streams like onvif backchannel in the 'is everything blocked' check, as those streams won't receive data until after the RTSP stream is running. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8378>
This commit is contained in:
parent
1a4b683225
commit
37f1077284
@ -3401,8 +3401,10 @@ gst_rtsp_media_seek (GstRTSPMedia * media, GstRTSPTimeRange * range)
|
||||
static void
|
||||
stream_collect_blocking (GstRTSPStream * stream, gboolean * blocked)
|
||||
{
|
||||
if (gst_rtsp_stream_is_sender (stream)) {
|
||||
*blocked &= gst_rtsp_stream_is_blocking (stream);
|
||||
}
|
||||
}
|
||||
|
||||
static gboolean
|
||||
media_streams_blocking (GstRTSPMedia * media)
|
||||
|
Loading…
x
Reference in New Issue
Block a user