Lines Matching refs:rtpctx
771 AVFormatContext *rtpctx = rtsp_st->transport_priv; in ff_rtsp_undo_setup() local
772 av_write_trailer(rtpctx); in ff_rtsp_undo_setup()
774 if (CONFIG_RTSP_MUXER && rtpctx->pb && send_packets) in ff_rtsp_undo_setup()
776 ffio_free_dyn_buf(&rtpctx->pb); in ff_rtsp_undo_setup()
778 avio_closep(&rtpctx->pb); in ff_rtsp_undo_setup()
780 avformat_free_context(rtpctx); in ff_rtsp_undo_setup()
871 RTPDemuxContext *rtpctx = rtsp_st->transport_priv; in ff_rtsp_open_transport_ctx() local
872 rtpctx->ssrc = rtsp_st->ssrc; in ff_rtsp_open_transport_ctx()
1045 RTPDemuxContext *rtpctx = rtsp_st->transport_priv; in handle_rtp_info() local
1046 if (!rtpctx) in handle_rtp_info()
1049 rtpctx->base_timestamp = rtptime; in handle_rtp_info()
2121 RTPDemuxContext *rtpctx = rt->rtsp_streams[i]->transport_priv; in pick_stream() local
2122 if (!rtpctx) in pick_stream()
2124 if (rtpctx->ssrc == AV_RB32(&buf[4])) { in pick_stream()
2128 if (!rtpctx->ssrc) in pick_stream()
2226 RTPDemuxContext *rtpctx = rt->rtsp_streams[i]->transport_priv; in ff_rtsp_fetch_packet() local
2228 if (!rtpctx) in ff_rtsp_fetch_packet()
2230 queue_time = ff_rtp_queued_packet_time(rtpctx); in ff_rtsp_fetch_packet()
2277 RTPDemuxContext *rtpctx = rtsp_st->transport_priv; in ff_rtsp_fetch_packet() local
2278 if (rtpctx->first_rtcp_ntp_time != AV_NOPTS_VALUE) { in ff_rtsp_fetch_packet()
2294 rtpctx2->first_rtcp_ntp_time = rtpctx->first_rtcp_ntp_time; in ff_rtsp_fetch_packet()
2296 rtpctx->rtcp_ts_offset, st->time_base, in ff_rtsp_fetch_packet()
2302 …s->start_time_realtime = av_rescale (rtpctx->first_rtcp_ntp_time - (NTP_OFFSET << 32), 1000000, 1L… in ff_rtsp_fetch_packet()
2303 if (rtpctx->st) { in ff_rtsp_fetch_packet()
2305 … av_rescale_q (rtpctx->rtcp_ts_offset, rtpctx->st->time_base, AV_TIME_BASE_Q); in ff_rtsp_fetch_packet()