diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-05 00:08:58 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-05 00:08:58 +0000 |
commit | 0898f2141acffa04b082863704d7d1b69ccd3a00 (patch) | |
tree | 03a6745f4b5832aa68ce94e031a0563fce5a781d /dec_video.c | |
parent | d6e14e8c5f885823edc74e78807b024acd2c2b03 (diff) |
divx.dll o_bih workaround, postprocessing support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2088 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'dec_video.c')
-rw-r--r-- | dec_video.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dec_video.c b/dec_video.c index 07c42406cc..a6c70bf2d8 100644 --- a/dec_video.c +++ b/dec_video.c @@ -95,6 +95,11 @@ void convert_linux(unsigned char *puc_y, int stride_y, int get_video_quality_max(sh_video_t *sh_video){ switch(sh_video->codec->driver){ +#ifdef USE_WIN32DLL + case VFM_VFW: + case VFM_VFWEX: + return 6; +#endif #ifdef USE_DIRECTSHOW case VFM_DSHOW: return 4; @@ -111,6 +116,12 @@ int get_video_quality_max(sh_video_t *sh_video){ void set_video_quality(sh_video_t *sh_video,int quality){ switch(sh_video->codec->driver){ +#ifdef USE_WIN32DLL + case VFM_VFW: + case VFM_VFWEX: + vfw_set_postproc(sh_video,10*quality); + break; +#endif #ifdef USE_DIRECTSHOW case VFM_DSHOW: { if(quality<0 || quality>4) quality=4; |