summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-31 22:52:48 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-31 22:52:48 +0000
commit28d642624f9e59ea272037c5fd17247a25a2854c (patch)
treebf984bdf4c39b1abc1e28d1349c82bff801d5e0a
parentbed8c3279f2c3b12f1987cd04a8b3ee9e5c52fda (diff)
downloadmpv-28d642624f9e59ea272037c5fd17247a25a2854c.tar.bz2
mpv-28d642624f9e59ea272037c5fd17247a25a2854c.tar.xz
seeking fixed (variable fps videos needs to reset PTS after seeking)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5440 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpdemux/demux_film.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/demux_film.c b/libmpdemux/demux_film.c
index bf92ef17f1..f182a9ea76 100644
--- a/libmpdemux/demux_film.c
+++ b/libmpdemux/demux_film.c
@@ -76,6 +76,8 @@ printf ("current, total chunks = %d, %d; seek %5.3f sec, new chunk guess = %d\n"
printf (" (flags = %X) actual new chunk = %d (syncinfo1 = %08X)\n",
flags, film_data->current_chunk, film_data->chunks[film_data->current_chunk].syncinfo1);
+ demuxer->video->pts=film_data->chunks[film_data->current_chunk].pts;
+
}
// return value: