Re: [FFmpeg-devel] [PATCH 1/6] lavfi/vf_libplacebo: update render params on demand

2023-05-14 Thread Niklas Haas
On Wed, 10 May 2023 15:55:04 +0200 Niklas Haas wrote: > From: Niklas Haas > > Only update this struct when it's expected to change, and cache it > otherwise. Partially motivated by a desire to make `process_frames` > smaller. > --- > libavfilter/vf_libplacebo.c | 228

[FFmpeg-devel] [PATCH 1/6] lavfi/vf_libplacebo: update render params on demand

2023-05-10 Thread Niklas Haas
From: Niklas Haas Only update this struct when it's expected to change, and cache it otherwise. Partially motivated by a desire to make `process_frames` smaller. --- libavfilter/vf_libplacebo.c | 228 1 file changed, 126 insertions(+), 102 deletions(-) diff