[FFmpeg-devel] [PATCH 1/3] avutil/frame: add use_last_roi

Anton Khirnov anton at khirnov.net
Tue Feb 18 15:14:00 EET 2020


Quoting Guo, Yejun (2020-02-14 04:32:05)
> For some cases, the regions of interest do not change, it is not
> convenient to always prepare the roi data for every frame. So, add
> use_last_roi to show it uses the same roi data as last frame.
> 
> Since a new flag is added into AVFrame, the major version number of
> lavu is changed.

Why is this even necessary at all? I believe the convention for the
other side data types is that it applies from the frame it is attached
to onwards.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list