[FFmpeg-devel] [PATCH 1/3] lavc/avcodec: Add caps for the support of variable dimension encoding

Anton Khirnov anton at khirnov.net
Mon Jun 8 13:50:43 EEST 2020


Quoting Linjie Fu (2020-06-08 10:58:03)
> And declare AV_CODEC_CAP_VARIABLE_DIMENSIONS for rawvideo and
> wrapped_avframe.
> 
> Signed-off-by: Linjie Fu <linjie.fu at intel.com>
> ---
>  doc/APIchanges               | 3 +++
>  fftools/cmdutils.c           | 2 ++
>  libavcodec/avcodec.h         | 4 +++-
>  libavcodec/codec.h           | 5 +++++
>  libavcodec/rawenc.c          | 1 +
>  libavcodec/version.h         | 2 +-
>  libavcodec/wrapped_avframe.c | 1 +
>  7 files changed, 16 insertions(+), 2 deletions(-)

During the last iteration, I asked how is this preferable to just making
a new encoder instance. Don't think I got a sufficient reply.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list