Mercurial > mplayer.hg
changeset 5153:7091d4c46685
fixed colorspace detection
author | arpi |
---|---|
date | Sun, 17 Mar 2002 02:13:18 +0000 |
parents | 1b173932dbbb |
children | f67115a72b7c |
files | libmpcodecs/vd_vfw.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_vfw.c Sun Mar 17 02:04:06 2002 +0000 +++ b/libmpcodecs/vd_vfw.c Sun Mar 17 02:13:18 2002 +0000 @@ -52,9 +52,10 @@ // init driver static int init(sh_video_t *sh){ unsigned int out_fmt; + if(!mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_YUY2)) return 0; if(!init_vfw_video_codec(sh,(sh->codec->driver==VFM_VFWEX))) return 0; mp_msg(MSGT_DECVIDEO,MSGL_V,"INFO: Win32 video codec init OK!\n"); - return mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_YUY2); + return 1; } // uninit driver