Mercurial > mplayer.hg
comparison mplayer.c @ 980:e9dedf1e544e
-framedrop fixed for VfW (I hope :))
author | arpi_esp |
---|---|
date | Sun, 03 Jun 2001 23:54:41 +0000 |
parents | 3bcc435cd5a2 |
children | e73777bc679f |
comparison
equal
deleted
inserted
replaced
979:3bcc435cd5a2 | 980:e9dedf1e544e |
---|---|
1649 sh_video->bih->biSizeImage = in_size; | 1649 sh_video->bih->biSizeImage = in_size; |
1650 | 1650 |
1651 // sh_video->bih->biWidth = 1280; | 1651 // sh_video->bih->biWidth = 1280; |
1652 // sh_video->o_bih.biWidth = 1280; | 1652 // sh_video->o_bih.biWidth = 1280; |
1653 // ret = ICDecompress(avi_header.hic, ICDECOMPRESS_NOTKEYFRAME|(ICDECOMPRESS_HURRYUP|ICDECOMPRESS_PREROL), | 1653 // ret = ICDecompress(avi_header.hic, ICDECOMPRESS_NOTKEYFRAME|(ICDECOMPRESS_HURRYUP|ICDECOMPRESS_PREROL), |
1654 ret = ICDecompress(sh_video->hic, ICDECOMPRESS_NOTKEYFRAME | | 1654 ret = ICDecompress(sh_video->hic, |
1655 ( (drop_frame==2)?(ICDECOMPRESS_HURRYUP|ICDECOMPRESS_PREROL):0 ) , | 1655 ( (d_video->flags&1) ? 0 : ICDECOMPRESS_NOTKEYFRAME ) | |
1656 ( (drop_frame==2 && !(d_video->flags&1))?(ICDECOMPRESS_HURRYUP|ICDECOMPRESS_PREROL):0 ) , | |
1656 sh_video->bih, start, | 1657 sh_video->bih, start, |
1657 &sh_video->o_bih, | 1658 &sh_video->o_bih, |
1658 drop_frame ? 0 : sh_video->our_out_buffer); | 1659 drop_frame ? 0 : sh_video->our_out_buffer); |
1659 | 1660 |
1660 if(ret){ printf("Error decompressing frame, err=%d\n",(int)ret);break; } | 1661 if(ret){ printf("Error decompressing frame, err=%d\n",(int)ret);break; } |