mirror of https://git.ffmpeg.org/ffmpeg.git
ffmpeg: do not deprecate -vol and -map_channel.
These helpers are handy, just notice the user it is done using lavfi.
This commit is contained in:
parent
fa29ca5f55
commit
9e2cee5770
5
ffmpeg.c
5
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 { \
|
#define AUTO_INSERT_FILTER(opt_name, filter_name, arg) do { \
|
||||||
AVFilterContext *filt_ctx; \
|
AVFilterContext *filt_ctx; \
|
||||||
\
|
\
|
||||||
av_log(NULL, AV_LOG_WARNING, opt_name " has been deprecated. " \
|
av_log(NULL, AV_LOG_INFO, opt_name " is forwarded to lavfi " \
|
||||||
"Use the " filter_name " filter instead " \
|
"similarly to -af " filter_name "=%s.\n", arg); \
|
||||||
"(-af " filter_name "=%s).\n", arg); \
|
|
||||||
\
|
\
|
||||||
ret = avfilter_graph_create_filter(&filt_ctx, \
|
ret = avfilter_graph_create_filter(&filt_ctx, \
|
||||||
avfilter_get_by_name(filter_name), \
|
avfilter_get_by_name(filter_name), \
|
||||||
|
|
Loading…
Reference in New Issue