mirror of
https://github.com/mpv-player/mpv
synced 2025-02-28 19:30:44 +00:00
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
This commit is contained in:
parent
bed8c3279f
commit
28d642624f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user