diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-05-05 18:22:46 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-17 03:29:21 +0200 |
commit | fc49f22c3b735db5aaac5f98e40b7124a2be13b8 (patch) | |
tree | 1803664a062717d85542229ed6de829f0ede862a /libavfilter/buffersrc.h | |
parent | dfa988ee5ea704ba761d004f0c27e7acc1fb4251 (diff) | |
download | ffmpeg-fc49f22c3b735db5aaac5f98e40b7124a2be13b8.tar.gz |
ffmpeg: add support for audio filters.
Some of the FATE changes are due to off-by-one different rounding being used
(lrintf vs av_rescale_q).
Some fate changes are due to 1 audio frame less being encoded (the new variant seems
matching what qatar does and according to ffprobe its closer to the requested duration)
the mapchan feature sadly is lost in this commit because it depends on resampling
being done in ffmpeg.c which is now moved completely into the av filter layer
-async is broken after this commit, this will be fixed in subsequent commits
the new filter reconfiguration system is flawed and will drop a frame on each
parameter change which is why the nelly moser checksums need updating.
Conflicts:
ffmpeg.c
tests/ref/fate/smjpeg
Diffstat (limited to 'libavfilter/buffersrc.h')
-rw-r--r-- | libavfilter/buffersrc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/buffersrc.h b/libavfilter/buffersrc.h index cd6492e5cb..27fc2867a0 100644 --- a/libavfilter/buffersrc.h +++ b/libavfilter/buffersrc.h @@ -27,6 +27,7 @@ #include "avfilter.h" +#if 1 enum { /** @@ -62,6 +63,7 @@ int av_buffersrc_add_ref(AVFilterContext *buffer_src, */ unsigned av_buffersrc_get_nb_failed_requests(AVFilterContext *buffer_src); +#else /** * Add a buffer to the filtergraph s. * @@ -81,5 +83,6 @@ int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf); * hit. Use av_buffersrc_buffer() to avoid copying the data. */ int av_buffersrc_write_frame(AVFilterContext *s, AVFrame *frame); +#endif #endif /* AVFILTER_BUFFERSRC_H */ |