[FFmpeg-devel] [PATCH] lavfi: add mbfequalizer filter.

Paul B Mahol onemda at gmail.com
Fri Jan 31 17:39:14 EET 2020


On 12/23/19, Nicolas George <george at nsup.org> wrote:
> Thanks for the comment.
>
> James Almer (12019-12-23):
>> > +        frame_out = ff_get_audio_buffer(ctx->outputs[0],
>> > frame->nb_samples);
>
>> Can't you use av_frame_make_writable() instead to simplify this?
>
> No, because it does not use ff_get_audio_buffer(), and therefore does
> not allow direct rendering. Also, it unnecessarily copies the data. I
> have already noted that this is a frequent pattern in filters that
> should be factored soon.
>

I do not get it. Which filters are affected by this?

> Regards,
>
> --
>   Nicolas George
>


More information about the ffmpeg-devel mailing list