Commit 71e5a140 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Suggest aresample filter if it was not compiled but requested.

parent 6ea973fc
......@@ -365,7 +365,7 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx)
break;
case AVMEDIA_TYPE_AUDIO:
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");
return AVERROR(EINVAL);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment