Panagiotis Issaris <[EMAIL PROTECTED]> added the comment:
Attached patch modifies ffmpeg to show which bitstreamfilters were compiled in,
similar to the protocols etc enumerations.
----------
type: feature_request -> patch
______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue295>
______________________________________________________
Index: ffmpeg.c
===================================================================
--- ffmpeg.c (revision 11200)
+++ ffmpeg.c (working copy)
@@ -3322,6 +3322,7 @@
AVOutputFormat *ofmt;
URLProtocol *up;
AVCodec *p, *p2;
+ AVBitStreamFilter *bsf;
const char *last_name;
printf("File formats:\n");
@@ -3417,6 +3418,13 @@
}
printf("\n");
+ printf("Bitstream filters:\n");
+ for(bsf = first_bitstream_filter; bsf != NULL; bsf = bsf->next) {
+ if(bsf->name)
+ 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: libavcodec/avcodec.h
===================================================================
--- libavcodec/avcodec.h (revision 11200)
+++ libavcodec/avcodec.h (working copy)
@@ -2827,6 +2827,7 @@
const uint8_t *buf, int buf_size, int keyframe);
void av_bitstream_filter_close(AVBitStreamFilterContext *bsf);
+extern AVBitStreamFilter *first_bitstream_filter;
/* memory */