mirror of https://github.com/mpv-player/mpv
switch back to old timing code until new is bugfixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2427 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3781f455ea
commit
813566e40b
|
@ -203,22 +203,25 @@ static int header_process_picture_coding_extension (picture_t * picture, uint8_t
|
|||
picture->repeat_first_field = (buffer[3] >> 1) & 1;
|
||||
picture->progressive_frame = buffer[4] >> 7;
|
||||
|
||||
#if 0
|
||||
#if 1
|
||||
// repeat_first implementation by A'rpi/ESP-team, based on libmpeg3:
|
||||
if(picture->repeat_count>=100) picture->repeat_count=0;
|
||||
picture->display_time=100;
|
||||
if(picture->repeat_first_field){
|
||||
if(picture->progressive_sequence){
|
||||
if(picture->top_field_first)
|
||||
picture->repeat_count+=200;
|
||||
picture->display_time+=200;
|
||||
else
|
||||
picture->repeat_count+=100;
|
||||
picture->display_time+=100;
|
||||
} else
|
||||
if(picture->progressive_frame){
|
||||
picture->repeat_count+=50;
|
||||
picture->display_time+=50;
|
||||
}
|
||||
}
|
||||
//repeat_count=display_time-100%
|
||||
#else
|
||||
|
||||
// buggy with file ftp://mplayerhq.hu/MPlayer/incoming/twc-shaolin_soccer-svcd-sample.mpg
|
||||
|
||||
// repeat_first implemantation by iive, based on A'rpi/ESP-team and libmpeg3
|
||||
if( picture->progressive_sequence == 1 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue