Mercurial > mplayer.hg
diff 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 |
line wrap: on
line diff
--- a/libmpcodecs/dec_video.c Sat Aug 31 13:05:33 2002 +0000 +++ b/libmpcodecs/dec_video.c Sat Aug 31 13:09:23 2002 +0000 @@ -140,6 +140,17 @@ sh_video->inited=0; } +void vfm_help(){ + int i; + mp_msg(MSGT_DECVIDEO,MSGL_INFO,MSGTR_AvailableVideoFm); + mp_msg(MSGT_DECVIDEO,MSGL_INFO," vfm: info: (comment)\n"); + for (i=0; mpcodecs_vd_drivers[i] != NULL; i++) + mp_msg(MSGT_DECVIDEO,MSGL_INFO,"%8s %s (%s)\n", + mpcodecs_vd_drivers[i]->info->short_name, + mpcodecs_vd_drivers[i]->info->name, + mpcodecs_vd_drivers[i]->info->comment); +} + int init_video(sh_video_t *sh_video,char* codecname,char* vfm,int status){ unsigned int orig_fourcc=sh_video->bih?sh_video->bih->biCompression:0; sh_video->codec=NULL;