[Mplayer-cvslog] CVS: main codec-cfg.c,1.38,1.39
Arpi of Ize
arpi at mplayer.dev.hu
Thu Sep 27 15:19:48 CEST 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv7866
Modified Files:
codec-cfg.c
Log Message:
-av/-vc help display status
Index: codec-cfg.c
===================================================================
RCS file: /cvsroot/mplayer/main/codec-cfg.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- codec-cfg.c 27 Sep 2001 12:59:35 -0000 1.38
+++ codec-cfg.c 27 Sep 2001 13:19:46 -0000 1.39
@@ -651,16 +651,25 @@
if (audioflag) {
i = nr_acodecs;
c = audio_codecs;
+ printf("ac: afm: status: info: [lib/dll]\n");
} else {
i = nr_vcodecs;
c = video_codecs;
+ printf("vc: vfm: status: info: [lib/dll]\n");
}
if(!i) return NULL;
for (/* NOTHING */; i--; c++) {
+ char* s="unknown ";
+ switch(c->status){
+ case CODECS_STATUS_WORKING: s="working ";break;
+ case CODECS_STATUS_PROBLEMS: s="problems";break;
+ case CODECS_STATUS_NOT_WORKING: s="crashing";break;
+ case CODECS_STATUS_UNTESTED: s="untested";break;
+ }
if(c->dll)
- printf("%-10s %2d %s [%s]\n",c->name,c->driver,c->info,c->dll);
+ printf("%-10s%2d %s %s [%s]\n",c->name,c->driver,s,c->info,c->dll);
else
- printf("%-10s %2d %s\n",c->name,c->driver,c->info);
+ printf("%-10s%2d %s %s\n",c->name,c->driver,s,c->info);
}
More information about the MPlayer-cvslog
mailing list