Suggest aresample filter if it was not compiled but requested.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 3 Jul 2012 19:35:20 +0000 (21:35 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 3 Jul 2012 19:35:20 +0000 (21:35 +0200)
libavfilter/avfiltergraph.c

index 12d5337..7530b6b 100644 (file)
@@ -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);
                     }