changeset 5439:bc20fe5676ff

seeking fixed (variable fps videos needs to reset PTS after seeking)
author arpi
date Sun, 31 Mar 2002 22:52:48 +0000
parents 607d437c1d9d
children 5c3d36c1d92b
files libmpdemux/demux_film.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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: