Mercurial > mplayer.hg
comparison codec-cfg.c @ 1983:72f0648df475
-ac help / -vc help
author | arpi |
---|---|
date | Thu, 27 Sep 2001 12:59:35 +0000 |
parents | e0cc7b7290ec |
children | 34e1fa21df2f |
comparison
equal
deleted
inserted
replaced
1982:b190d3e9427c | 1983:72f0648df475 |
---|---|
641 } | 641 } |
642 } | 642 } |
643 } | 643 } |
644 return NULL; | 644 return NULL; |
645 } | 645 } |
646 | |
647 void list_codecs(int audioflag){ | |
648 int i, j; | |
649 codecs_t *c; | |
650 | |
651 if (audioflag) { | |
652 i = nr_acodecs; | |
653 c = audio_codecs; | |
654 } else { | |
655 i = nr_vcodecs; | |
656 c = video_codecs; | |
657 } | |
658 if(!i) return NULL; | |
659 for (/* NOTHING */; i--; c++) { | |
660 if(c->dll) | |
661 printf("%-10s %2d %s [%s]\n",c->name,c->driver,c->info,c->dll); | |
662 else | |
663 printf("%-10s %2d %s\n",c->name,c->driver,c->info); | |
664 | |
665 } | |
666 | |
667 } | |
668 | |
669 | |
646 | 670 |
647 #ifdef CODECS2HTML | 671 #ifdef CODECS2HTML |
648 | 672 |
649 void wrapline(FILE *f2,char *s){ | 673 void wrapline(FILE *f2,char *s){ |
650 int c; | 674 int c; |