[FFmpeg-devel] [PATCH v2 09/11] vaapi_encode: Add support for VFR mode

Michael Niedermayer michael at niedermayer.cc
Mon Jan 28 22:45:56 EET 2019


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.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

You can kill me, but you cannot change the truth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190128/77b4377e/attachment.sig>


More information about the ffmpeg-devel mailing list