diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2011-11-05 02:44:02 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2011-11-05 02:45:08 +0100 |
commit | 3a1045dfda67216a744038475e47e6fcce252d54 (patch) | |
tree | 0b2b59417380abe344f7296d1e7f1e681e085720 /libavfilter/af_earwax.c | |
parent | fa4f06ab5e0b00ff88bf12dabb29ac4a24a828c9 (diff) | |
download | ffmpeg-3a1045dfda67216a744038475e47e6fcce252d54.tar.gz |
af_earwax: copy input buffer properties to output
In particular, fix timestamps, partially address trac ticket #375.
Diffstat (limited to 'libavfilter/af_earwax.c')
-rw-r--r-- | libavfilter/af_earwax.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/af_earwax.c b/libavfilter/af_earwax.c index 4e14c9ff00..b8c5de3b5b 100644 --- a/libavfilter/af_earwax.c +++ b/libavfilter/af_earwax.c @@ -124,6 +124,8 @@ static void filter_samples(AVFilterLink *inlink, AVFilterBufferRef *insamples) AVFilterBufferRef *outsamples = avfilter_get_audio_buffer(inlink, AV_PERM_WRITE, insamples->audio->nb_samples); + avfilter_copy_buffer_ref_props(outsamples, insamples); + taps = ((EarwaxContext *)inlink->dst->priv)->taps; out = (int16_t *)outsamples->data[0]; in = (int16_t *)insamples ->data[0]; |