History

avfiltergraph: switch to swresample by default

all known bugs in the interface code have been fixed

Michael Niedermayer committed 14 years ago

Commit 88d5cfe1 parent efdc8951 file · +2 −2Browse files

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

Unified · Split

libavfilter/avfiltergraph.c+2−2
@@ -310,7 +310,7 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx) · 309 unmodified lines
310310 return ret;
311311 break;
312312 case AVMEDIA_TYPE_AUDIO:
313− if (!(filter = avfilter_get_by_name("resample"))) {
313+ if (!(filter = avfilter_get_by_name("aresample"))) {
314314 av_log(log_ctx, AV_LOG_ERROR, "'resample' filter "
315315 "not present, cannot convert audio formats.\n");
316316 return AVERROR(EINVAL);
@@ -319,7 +319,7 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx) · 2 unmodified lines
319319 snprintf(inst_name, sizeof(inst_name), "auto-inserted resampler %d",
320320 resampler_count++);
321321 if ((ret = avfilter_graph_create_filter(&convert,
322− avfilter_get_by_name("resample"),
322+ avfilter_get_by_name("aresample"),
323323 inst_name, NULL, NULL, graph)) < 0)
324324 return ret;
325325 break;

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