mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
Merge remote-tracking branch 'qatar/master'
* qatar/master: rtsp: Respect max_delay for the reordering queue when using custom IO Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
315f15afe7
@ -1908,7 +1908,11 @@ redo:
|
||||
ff_rtp_check_and_send_back_rr(rtsp_st->transport_priv, rtsp_st->rtp_handle, NULL, len);
|
||||
break;
|
||||
case RTSP_LOWER_TRANSPORT_CUSTOM:
|
||||
len = ffio_read_partial(s->pb, rt->recvbuf, RECVBUF_SIZE);
|
||||
if (first_queue_st && rt->transport == RTSP_TRANSPORT_RTP &&
|
||||
wait_end && wait_end < av_gettime())
|
||||
len = AVERROR(EAGAIN);
|
||||
else
|
||||
len = ffio_read_partial(s->pb, rt->recvbuf, RECVBUF_SIZE);
|
||||
len = pick_stream(s, &rtsp_st, rt->recvbuf, len);
|
||||
if (len > 0 && rtsp_st->transport_priv && rt->transport == RTSP_TRANSPORT_RTP)
|
||||
ff_rtp_check_and_send_back_rr(rtsp_st->transport_priv, NULL, s->pb, len);
|
||||
|
Loading…
Reference in New Issue
Block a user