Commit 50755217 authored by Luca Abeni's avatar Luca Abeni

Use correct timescale in RTSP seeking

Originally committed as revision 10222 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 273b0cd3
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment