[FFmpeg-devel] [PATCH v2 09/11] vaapi_encode: Add support for VFR mode
Mark Thompson
sw at jkqxz.net
Mon Feb 4 11:28:27 EET 2019
On 28/01/2019 20:45, Michael Niedermayer wrote:
> On Sun, Jan 27, 2019 at 11:47:05PM +0000, Mark Thompson wrote:
>> Use the frame-skip feature to maintain a specified framerate from the
>> point of view of the driver.
>> ---
>> doc/encoders.texi | 7 +++
>> libavcodec/vaapi_encode.c | 116 +++++++++++++++++++++++++++++++++++---
>> libavcodec/vaapi_encode.h | 18 +++++-
>> 3 files changed, 132 insertions(+), 9 deletions(-)
>
> seems to break build
>
>
> CC libavcodec/vaapi_encode.o
> libavcodec/vaapi_encode.c: In function ‘vaapi_encode_init_framerate’:
> libavcodec/vaapi_encode.c:1718:12: error: ‘VAAPIEncodeContext’ has no member named ‘max_fps’
> if (ctx->max_fps.num > 0 && ctx->max_fps.den > 0) {
> ^
> libavcodec/vaapi_encode.c:1718:36: error: ‘VAAPIEncodeContext’ has no member named ‘max_fps’
> if (ctx->max_fps.num > 0 && ctx->max_fps.den > 0) {
> ^
> make: *** [libavcodec/vaapi_encode.o] Error 1
> make: Target `all' not remade because of errors.
Urgh, not retested on older versions after late refactoring which changed the name of a variable.
Fixed.
Thanks,
- Mark
More information about the ffmpeg-devel
mailing list