summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-05-17 20:57:22 +0200
committerClément Bœsch <ubitux@gmail.com>2012-05-18 23:40:03 +0200
commit9e2cee577092bfb2fd8c635ddc51da70bb26efe5 (patch)
treee5db046b36deb9085df633a37965ba287c0d7eee
parentfa29ca5f55bb1113a4ae21b3bb1beb36092c4519 (diff)
downloadffmpeg-streaming-9e2cee577092bfb2fd8c635ddc51da70bb26efe5.zip
ffmpeg-streaming-9e2cee577092bfb2fd8c635ddc51da70bb26efe5.tar.gz
ffmpeg: do not deprecate -vol and -map_channel.
These helpers are handy, just notice the user it is done using lavfi.
-rw-r--r--ffmpeg.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index bd7e6c1..f7d0252 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), \
OpenPOWER on IntegriCloud