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

Unified · Split

libavfilter/avfiltergraph.c+2−2
@@ -310,7 +310,7 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx) · 309 unmodified lines
310 return ret;310 return ret;
311 break;311 break;
312 case AVMEDIA_TYPE_AUDIO:312 case AVMEDIA_TYPE_AUDIO:
313 if (!(filter = avfilter_get_by_name("resample"))) {313 if (!(filter = avfilter_get_by_name("aresample"))) {
314 av_log(log_ctx, AV_LOG_ERROR, "'resample' filter "314 av_log(log_ctx, AV_LOG_ERROR, "'resample' filter "
315 "not present, cannot convert audio formats.\n");315 "not present, cannot convert audio formats.\n");
316 return AVERROR(EINVAL);316 return AVERROR(EINVAL);
@@ -319,7 +319,7 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx) · 2 unmodified lines
319 snprintf(inst_name, sizeof(inst_name), "auto-inserted resampler %d",319 snprintf(inst_name, sizeof(inst_name), "auto-inserted resampler %d",
320 resampler_count++);320 resampler_count++);
321 if ((ret = avfilter_graph_create_filter(&convert,321 if ((ret = avfilter_graph_create_filter(&convert,
322 avfilter_get_by_name("resample"),322 avfilter_get_by_name("aresample"),
323 inst_name, NULL, NULL, graph)) < 0)323 inst_name, NULL, NULL, graph)) < 0)
324 return ret;324 return ret;
325 break;325 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