diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-16 03:54:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-16 03:54:37 +0200 |
commit | 88d5cfe7c8666afe05ae1ee06856e4a332db2ffe (patch) | |
tree | b9af743247e4671577ea93846905a2fc0831cbd7 /libavfilter/avfiltergraph.c | |
parent | efdc895fbdd31aa57fa57627bf6c38479c00145d (diff) | |
download | ffmpeg-streaming-88d5cfe7c8666afe05ae1ee06856e4a332db2ffe.zip ffmpeg-streaming-88d5cfe7c8666afe05ae1ee06856e4a332db2ffe.tar.gz |
avfiltergraph: switch to swresample by default
all known bugs in the interface code have been fixed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r-- | libavfilter/avfiltergraph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index 90d7560..987b024 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -310,7 +310,7 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx) return ret; break; case AVMEDIA_TYPE_AUDIO: - if (!(filter = avfilter_get_by_name("resample"))) { + if (!(filter = avfilter_get_by_name("aresample"))) { av_log(log_ctx, AV_LOG_ERROR, "'resample' filter " "not present, cannot convert audio formats.\n"); return AVERROR(EINVAL); @@ -319,7 +319,7 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx) snprintf(inst_name, sizeof(inst_name), "auto-inserted resampler %d", resampler_count++); if ((ret = avfilter_graph_create_filter(&convert, - avfilter_get_by_name("resample"), + avfilter_get_by_name("aresample"), inst_name, NULL, NULL, graph)) < 0) return ret; break; |