mirror of https://github.com/mpv-player/mpv
vd_vfw.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6845 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7a81042678
commit
5f287b1411
|
@ -51,7 +51,6 @@ static int control(sh_video_t *sh,int cmd,void* arg,...){
|
||||||
|
|
||||||
// init driver
|
// init driver
|
||||||
static int init(sh_video_t *sh){
|
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(!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;
|
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");
|
mp_msg(MSGT_DECVIDEO,MSGL_V,"INFO: Win32 video codec init OK!\n");
|
||||||
|
|
Loading…
Reference in New Issue