diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-31 12:37:01 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-31 12:53:46 +0200 |
commit | 8c895ae73f81a5db66f3bfeac3d91da5c4e179e2 (patch) | |
tree | 91232c2e193df19a9bb1a22657f3e3e07cb610df /libavformat/rtsp.c | |
parent | 4ba8560077a19ae12bf0c875c57cdaa72d690441 (diff) | |
parent | f797b134cad4d248b1c8955659997980d0668bc3 (diff) | |
download | ffmpeg-8c895ae73f81a5db66f3bfeac3d91da5c4e179e2.tar.gz |
Merge commit 'f797b134cad4d248b1c8955659997980d0668bc3'
* commit 'f797b134cad4d248b1c8955659997980d0668bc3':
rtpenc_chain: Don't copy the time base to the source stream by default
See: 1fe40e1b0538a8eb8425123c47775b5d141ae084
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index fcf9eca0d4..d25838a074 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -738,6 +738,7 @@ int ff_rtsp_open_transport_ctx(AVFormatContext *s, RTSPStream *rtsp_st) rtsp_st->rtp_handle = NULL; if (ret < 0) return ret; + st->time_base = ((AVFormatContext*)rtsp_st->transport_priv)->streams[0]->time_base; } else if (rt->transport == RTSP_TRANSPORT_RAW) { return 0; // Don't need to open any parser here } else if (rt->transport == RTSP_TRANSPORT_RDT && CONFIG_RTPDEC) |