Use correct timescale in RTSP seeking
Originally committed as revision 10222 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
273b0cd3c4
commit
50755217f8
@ -1267,7 +1267,7 @@ static int rtsp_read_seek(AVFormatContext *s, int stream_index,
|
||||
{
|
||||
RTSPState *rt = s->priv_data;
|
||||
|
||||
rt->seek_timestamp = timestamp;
|
||||
rt->seek_timestamp = av_rescale_q(timestamp, s->streams[stream_index]->time_base, AV_TIME_BASE_Q);
|
||||
switch(rt->state) {
|
||||
default:
|
||||
case RTSP_STATE_IDLE:
|
||||
|
Loading…
Reference in New Issue
Block a user