Mercurial > mplayer.hg
comparison libmpcodecs/dec_video.c @ 7191:1eadce15446c
-afm/-vfm help implemenetd, some cosmetics of ad/vd codec names/comments
author | arpi |
---|---|
date | Sat, 31 Aug 2002 13:09:23 +0000 |
parents | 28677d779205 |
children | 09c8c9cca9e4 |
comparison
equal
deleted
inserted
replaced
7190:5137e9fb57e7 | 7191:1eadce15446c |
---|---|
136 if(!sh_video->inited) return; | 136 if(!sh_video->inited) return; |
137 mp_msg(MSGT_DECVIDEO,MSGL_V,MSGTR_UninitVideoStr,sh_video->codec->drv); | 137 mp_msg(MSGT_DECVIDEO,MSGL_V,MSGTR_UninitVideoStr,sh_video->codec->drv); |
138 mpvdec->uninit(sh_video); | 138 mpvdec->uninit(sh_video); |
139 vf_uninit_filter_chain(sh_video->vfilter); | 139 vf_uninit_filter_chain(sh_video->vfilter); |
140 sh_video->inited=0; | 140 sh_video->inited=0; |
141 } | |
142 | |
143 void vfm_help(){ | |
144 int i; | |
145 mp_msg(MSGT_DECVIDEO,MSGL_INFO,MSGTR_AvailableVideoFm); | |
146 mp_msg(MSGT_DECVIDEO,MSGL_INFO," vfm: info: (comment)\n"); | |
147 for (i=0; mpcodecs_vd_drivers[i] != NULL; i++) | |
148 mp_msg(MSGT_DECVIDEO,MSGL_INFO,"%8s %s (%s)\n", | |
149 mpcodecs_vd_drivers[i]->info->short_name, | |
150 mpcodecs_vd_drivers[i]->info->name, | |
151 mpcodecs_vd_drivers[i]->info->comment); | |
141 } | 152 } |
142 | 153 |
143 int init_video(sh_video_t *sh_video,char* codecname,char* vfm,int status){ | 154 int init_video(sh_video_t *sh_video,char* codecname,char* vfm,int status){ |
144 unsigned int orig_fourcc=sh_video->bih?sh_video->bih->biCompression:0; | 155 unsigned int orig_fourcc=sh_video->bih?sh_video->bih->biCompression:0; |
145 sh_video->codec=NULL; | 156 sh_video->codec=NULL; |