[FFmpeg-cvslog] r11203 - in trunk: ffmpeg.c libavcodec/avcodec.h

takis subversion
Wed Dec 12 12:52:27 CET 2007


Author: takis
Date: Wed Dec 12 12:52:27 2007
New Revision: 11203

Log:
Show which bitstreamfilters were compiled in, similar to the protocols etc
enumerations.


Modified:
   trunk/ffmpeg.c
   trunk/libavcodec/avcodec.h

Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Wed Dec 12 12:52:27 2007
@@ -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);

Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h	(original)
+++ trunk/libavcodec/avcodec.h	Wed Dec 12 12:52:27 2007
@@ -2827,6 +2827,7 @@ int av_bitstream_filter_filter(AVBitStre
                                const uint8_t *buf, int buf_size, int keyframe);
 void av_bitstream_filter_close(AVBitStreamFilterContext *bsf);
 
+extern AVBitStreamFilter *first_bitstream_filter;
 
 /* memory */
 




More information about the ffmpeg-cvslog mailing list