# HG changeset patch # User lucabe # Date 1188054758 0 # Node ID a32ac90d5d675470e556427e7cffbd2e6a4bd9d4 # Parent 358bf36d580e970e30f11c1ecb94a16cccc3c75b Use correct timescale in RTSP seeking diff -r 358bf36d580e -r a32ac90d5d67 rtsp.c --- a/rtsp.c Fri Aug 24 17:40:43 2007 +0000 +++ b/rtsp.c Sat Aug 25 15:12:38 2007 +0000 @@ -1267,7 +1267,7 @@ { 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: