You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
Suggest aresample filter if it was not compiled but requested.
This commit is contained in:
@@ -365,7 +365,7 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx)
|
|||||||
break;
|
break;
|
||||||
case AVMEDIA_TYPE_AUDIO:
|
case AVMEDIA_TYPE_AUDIO:
|
||||||
if (!(filter = avfilter_get_by_name("aresample"))) {
|
if (!(filter = avfilter_get_by_name("aresample"))) {
|
||||||
av_log(log_ctx, AV_LOG_ERROR, "'resample' filter "
|
av_log(log_ctx, AV_LOG_ERROR, "'aresample' filter "
|
||||||
"not present, cannot convert audio formats.\n");
|
"not present, cannot convert audio formats.\n");
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user