mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-17 21:14:47 +00:00
rtsp: 10l, try to update the correct rtp stream
This fixes a bug from rev 22917. Now RTSP streams where the individual RTCP sender reports aren't sent at the same time actually are synced properly. Originally committed as revision 25029 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
613a4e3f6d
commit
744a882f6c
@ -1831,7 +1831,7 @@ static int rtsp_fetch_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
* as this one. */
|
||||
int i;
|
||||
for (i = 0; i < rt->nb_rtsp_streams; i++) {
|
||||
RTPDemuxContext *rtpctx2 = rtsp_st->transport_priv;
|
||||
RTPDemuxContext *rtpctx2 = rt->rtsp_streams[i]->transport_priv;
|
||||
if (rtpctx2 &&
|
||||
rtpctx2->first_rtcp_ntp_time == AV_NOPTS_VALUE)
|
||||
rtpctx2->first_rtcp_ntp_time = rtpctx->first_rtcp_ntp_time;
|
||||
|
Loading…
Reference in New Issue
Block a user