On Wed, Mar 6, 2019 at 3:57 PM Oliver Collyer <ovcoll...@mac.com> wrote: > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index 0ce22ec4fa..7087f82ce1 100644 > --- a/libavcodec/avcodec.h > +++ b/libavcodec/avcodec.h > @@ -3357,6 +3357,12 @@ typedef struct AVCodecContext { > * - encoding: unused > */ > int discard_damaged_percentage; > + > + /* > + * Video encoding only. Sets the maximum picture size for encoders that > + * support adjusting the picture size dynamically during encoding. > + */ > + int max_width, max_height; > } AVCodecContext; >
I really don't like introducing public API fields for this. Maybe a private nvenc option would be better at this point. - Hendrik _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel