af_earwax: copy input buffer properties to output
In particular, fix timestamps, partially address trac ticket #375.
This commit is contained in:
parent
fa4f06ab5e
commit
3a1045dfda
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user