# HG changeset patch # User arpi_esp # Date 991612481 0 # Node ID e9dedf1e544eab20490ef64b7a8d92712e05b762 # Parent 3bcc435cd5a2b878c0ebcb90565ad3c960567e67 -framedrop fixed for VfW (I hope :)) diff -r 3bcc435cd5a2 -r e9dedf1e544e mplayer.c --- a/mplayer.c Sun Jun 03 23:37:20 2001 +0000 +++ b/mplayer.c Sun Jun 03 23:54:41 2001 +0000 @@ -1651,8 +1651,9 @@ // 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);