Show which bitstreamfilters were compiled in, similar to the protocols etc
authorPanagiotis Issaris <takis.issaris@uhasselt.be>
Wed, 12 Dec 2007 11:52:27 +0000 (11:52 +0000)
committerPanagiotis Issaris <takis.issaris@uhasselt.be>
Wed, 12 Dec 2007 11:52:27 +0000 (11:52 +0000)
enumerations.

Originally committed as revision 11203 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c
libavcodec/avcodec.h

index 0f02c79..c656663 100644 (file)
--- 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);
index a6aeac5..59f04f8 100644 (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 */