mirror of https://github.com/mpv-player/mpv
-framedrop fixed for VfW (I hope :))
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@981 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1a92942b61
commit
ca7179a0da
|
@ -1651,8 +1651,9 @@ switch(sh_video->codec->driver){
|
|||
// sh_video->bih->biWidth = 1280;
|
||||
// sh_video->o_bih.biWidth = 1280;
|
||||
// ret = ICDecompress(avi_header.hic, ICDECOMPRESS_NOTKEYFRAME|(ICDECOMPRESS_HURRYUP|ICDECOMPRESS_PREROL),
|
||||
ret = ICDecompress(sh_video->hic, ICDECOMPRESS_NOTKEYFRAME |
|
||||
( (drop_frame==2)?(ICDECOMPRESS_HURRYUP|ICDECOMPRESS_PREROL):0 ) ,
|
||||
ret = ICDecompress(sh_video->hic,
|
||||
( (d_video->flags&1) ? 0 : ICDECOMPRESS_NOTKEYFRAME ) |
|
||||
( (drop_frame==2 && !(d_video->flags&1))?(ICDECOMPRESS_HURRYUP|ICDECOMPRESS_PREROL):0 ) ,
|
||||
sh_video->bih, start,
|
||||
&sh_video->o_bih,
|
||||
drop_frame ? 0 : sh_video->our_out_buffer);
|
||||
|
|
Loading…
Reference in New Issue