Browse Source

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

enumerations.

Originally committed as revision 11203 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Panagiotis Issaris 17 years ago
parent
commit
8540e8c3ec
2 changed files with 7 additions and 0 deletions
  1. +6
    -0
      ffmpeg.c
  2. +1
    -0
      libavcodec/avcodec.h

+ 6
- 0
ffmpeg.c 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);


+ 1
- 0
libavcodec/avcodec.h 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 */



Loading…
Cancel
Save