mirror of
https://github.com/mpv-player/mpv
synced 2025-02-20 14:56:55 +00:00
Wrong editlist handling: end pts must be included.
Fixes another BBC sample (why is it always BBC samples that break MPlayer??): http://images.apple.com/movies/us/hd_gallery/gl1800/720p/bbc-africa_m720p.mov git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16497 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cb30e1edd5
commit
a6f6008e30
@ -276,7 +276,7 @@ void mov_build_index(mov_track_t* trak,int timescale){
|
||||
e_pts+=el->dur;
|
||||
// find end sample
|
||||
for(;sample<trak->samples_size;sample++){
|
||||
if(pts<=trak->samples[sample].pts) break;
|
||||
if(pts<trak->samples[sample].pts) break;
|
||||
}
|
||||
el->frames=sample-el->start_sample;
|
||||
frame+=el->frames;
|
||||
|
Loading…
Reference in New Issue
Block a user