Mercurial > mplayer.hg
comparison libmpcodecs/vd_xanim.c @ 6525:0a7be46617d8
yvu9 and if09 support
author | alex |
---|---|
date | Sun, 23 Jun 2002 15:15:31 +0000 |
parents | edb622813c46 |
children | 28677d779205 |
comparison
equal
deleted
inserted
replaced
6524:05cd2cf758e4 | 6525:0a7be46617d8 |
---|---|
26 return CONTROL_UNKNOWN; | 26 return CONTROL_UNKNOWN; |
27 } | 27 } |
28 | 28 |
29 // init driver | 29 // init driver |
30 static int init(sh_video_t *sh){ | 30 static int init(sh_video_t *sh){ |
31 if(!mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,sh->format)) return 0; | 31 if(!mpcodecs_config_vo(sh,sh->disp_w,sh->disp_h,IMGFMT_YV12)) return 0; |
32 return xacodec_init_video(sh,sh->codec->outfmt[sh->outfmtidx]); | 32 return xacodec_init_video(sh,sh->codec->outfmt[sh->outfmtidx]); |
33 } | 33 } |
34 | 34 |
35 // uninit driver | 35 // uninit driver |
36 static void uninit(sh_video_t *sh){ | 36 static void uninit(sh_video_t *sh){ |