aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-02-02 21:31:20 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-02-02 21:31:20 +0000
commita3cc2160e032481f5393304d5b6c61c550d116e7 (patch)
tree887a5c8eb74f66614f61f7ed5c2715dcf27e73f6
parent5d39be73cba3158b8b26f833b6c03bd9035027d8 (diff)
downloadffmpeg-a3cc2160e032481f5393304d5b6c61c550d116e7.tar.gz
Commit disapeared hunk, must have editied this out by mistake between local debug statements.
This should fix seeking in TS. Originally committed as revision 21614 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffplay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index 460bfeff53..0a964f2e46 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1076,6 +1076,7 @@ static void video_refresh_timer(void *opaque)
/* update current video pts */
is->video_current_pts = vp->pts;
is->video_current_pts_drift = is->video_current_pts - av_gettime() / 1000000.0;
+ is->video_current_pos = vp->pos;
if(is->subtitle_st) {
if (is->subtitle_stream_changed) {