[FFmpeg-devel] [PATCH 3/3] ffmpeg: do not deprecate -vol and -map_channel.

Clément Bœsch ubitux at gmail.com
Thu May 17 22:50:17 CEST 2012


These helpers are handy, just notice the user it is done using lavfi.
---
 ffmpeg.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 81523b2..6f9c775 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -878,9 +878,8 @@ static int configure_audio_filters(FilterGraph *fg, AVFilterContext **in_filter,
 #define AUTO_INSERT_FILTER(opt_name, filter_name, arg) do {                 \
     AVFilterContext *filt_ctx;                                              \
                                                                             \
-    av_log(NULL, AV_LOG_WARNING, opt_name " has been deprecated. "          \
-           "Use the " filter_name " filter instead "                        \
-           "(-af " filter_name "=%s).\n", arg);                             \
+    av_log(NULL, AV_LOG_INFO, opt_name " is forwarded to lavfi "            \
+           "similarly to -af " filter_name "=%s.\n", arg);                  \
                                                                             \
     ret = avfilter_graph_create_filter(&filt_ctx,                           \
                                        avfilter_get_by_name(filter_name),   \
-- 
1.7.10.2



More information about the ffmpeg-devel mailing list