# HG changeset patch # User arpi # Date 1017615168 0 # Node ID bc20fe5676ff184210331e9b3c59324a69fbfeac # Parent 607d437c1d9d509319c6552cf7d6496c4e53c8c1 seeking fixed (variable fps videos needs to reset PTS after seeking) diff -r 607d437c1d9d -r bc20fe5676ff libmpdemux/demux_film.c --- a/libmpdemux/demux_film.c Sun Mar 31 22:44:03 2002 +0000 +++ b/libmpdemux/demux_film.c Sun Mar 31 22:52:48 2002 +0000 @@ -76,6 +76,8 @@ 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: