[FFmpeg-devel] [PATCH 2/7] lavfi/buffersink: add a flag for retrieving stream parameters

Anton Khirnov anton at khirnov.net
Wed Sep 25 16:33:25 EEST 2024


Quoting Marton Balint (2024-09-25 10:25:44)
> 
> 
> On Mon, 23 Sep 2024, Anton Khirnov wrote:
> 
> > This way, av_buffersink_get_frame_flags() can replace almost all
> > av_buffersink_get_*(), including some future parameters we will want to
> > export.
> 
> Why don't you simply expose the AVFilterLink which contains all the 
> parameters of the sink? That seems a lot cleaner.

Because AVFilterLink is internal state of the filtergraph and should not
be exposed at all.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list