aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-12-12 11:52:27 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-12-12 11:52:27 +0000
commit8540e8c3eca73b18b7b5bc7f0b937007b0f81ddd (patch)
tree5b26fa19548f912159e3324ff375ebbeae5746ff
parente11910120ab0b7519dc8f2a5ee160e69016874c6 (diff)
downloadffmpeg-8540e8c3eca73b18b7b5bc7f0b937007b0f81ddd.tar.gz
Show which bitstreamfilters were compiled in, similar to the protocols etc
enumerations. Originally committed as revision 11203 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffmpeg.c6
-rw-r--r--libavcodec/avcodec.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 0f02c79ca1..c656663b5f 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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);
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index a6aeac5475..59f04f832b 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -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 */