Mercurial > mplayer.hg
comparison libmpdemux/demux_film.c @ 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 | 8a357300d0ec |
comparison
equal
deleted
inserted
replaced
5438:607d437c1d9d | 5439:bc20fe5676ff |
---|---|
74 | 74 |
75 film_data->current_chunk = new_current_chunk; | 75 film_data->current_chunk = new_current_chunk; |
76 | 76 |
77 printf (" (flags = %X) actual new chunk = %d (syncinfo1 = %08X)\n", | 77 printf (" (flags = %X) actual new chunk = %d (syncinfo1 = %08X)\n", |
78 flags, film_data->current_chunk, film_data->chunks[film_data->current_chunk].syncinfo1); | 78 flags, film_data->current_chunk, film_data->chunks[film_data->current_chunk].syncinfo1); |
79 demuxer->video->pts=film_data->chunks[film_data->current_chunk].pts; | |
80 | |
79 } | 81 } |
80 | 82 |
81 // return value: | 83 // return value: |
82 // 0 = EOF or no stream found | 84 // 0 = EOF or no stream found |
83 // 1 = successfully read a packet | 85 // 1 = successfully read a packet |