ffmpeg: do not deprecate -vol and -map_channel.
authorClément Bœsch <ubitux@gmail.com>
Thu, 17 May 2012 18:57:22 +0000 (20:57 +0200)
committerClément Bœsch <ubitux@gmail.com>
Fri, 18 May 2012 21:40:03 +0000 (23:40 +0200)
These helpers are handy, just notice the user it is done using lavfi.

ffmpeg.c

index bd7e6c1..f7d0252 100644 (file)
--- 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),   \