History

Suggest aresample filter if it was not compiled but requested.

Carl Eugen Hoyos committed 14 years ago

Commit 71e5a141 parent 6ea973f1 file · +1 −1Browse files

Showing the changes to libavfilter/avfiltergraph.c (1 of 1 file). Show all

Unified · Split

libavfilter/avfiltergraph.c+1−1
@@ -365,7 +365,7 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx) · 364 unmodified lines
365 break;365 break;
366 case AVMEDIA_TYPE_AUDIO:366 case AVMEDIA_TYPE_AUDIO:
367 if (!(filter = avfilter_get_by_name("aresample"))) {367 if (!(filter = avfilter_get_by_name("aresample"))) {
368 av_log(log_ctx, AV_LOG_ERROR, "'resample' filter "368 av_log(log_ctx, AV_LOG_ERROR, "'aresample' filter "
369 "not present, cannot convert audio formats.\n");369 "not present, cannot convert audio formats.\n");
370 return AVERROR(EINVAL);370 return AVERROR(EINVAL);
371 }371 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t