1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Show which bitstreamfilters were compiled in, similar to the protocols etc

enumerations.

Originally committed as revision 11203 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Panagiotis Issaris 2007-12-12 11:52:27 +00:00
parent e11910120a
commit 8540e8c3ec
2 changed files with 7 additions and 0 deletions

View File

@ -3322,6 +3322,7 @@ static void opt_show_formats(void)
AVOutputFormat *ofmt;
URLProtocol *up;
AVCodec *p, *p2;
AVBitStreamFilter *bsf;
const char *last_name;
printf("File formats:\n");
@ -3417,6 +3418,11 @@ static void opt_show_formats(void)
}
printf("\n");
printf("Bitstream filters:\n");
for(bsf = first_bitstream_filter; bsf != NULL; bsf = bsf->next)
printf(" %s", bsf->name);
printf("\n");
printf("Supported file protocols:\n");
for(up = first_protocol; up != NULL; up = up->next)
printf(" %s:", up->name);

View File

@ -2827,6 +2827,7 @@ int av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc,
const uint8_t *buf, int buf_size, int keyframe);
void av_bitstream_filter_close(AVBitStreamFilterContext *bsf);
extern AVBitStreamFilter *first_bitstream_filter;
/* memory */