diff options
author | 2001-06-03 23:54:41 +0000 | |
---|---|---|
committer | 2001-06-03 23:54:41 +0000 | |
commit | ca7179a0daab17f13e7c8206385426233f003399 (patch) | |
tree | 08d3670bf1bc6aaee21450b81b23cbd3522cdc76 /mplayer.c | |
parent | 1a92942b614da4c5dbe5a7ae19cecc55276f79a4 (diff) |
-framedrop fixed for VfW (I hope :))
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@981 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); |