vaapi_encode: Pass framerate parameters to driver
authorMark Thompson <sw@jkqxz.net>
Tue, 29 Nov 2016 22:12:46 +0000 (22:12 +0000)
committerMark Thompson <sw@jkqxz.net>
Wed, 8 Feb 2017 19:14:05 +0000 (19:14 +0000)
commitbe6546a4ff592785d039df6cbdd7659781d30b2c
treea9036eaa59eed96d3dd9a15dc1b3a59c1ff5457c
parent2201c02e6dc9f9652a8e27dec194915f05954ad0
vaapi_encode: Pass framerate parameters to driver

Only do this when building for a recent VAAPI version - initial
driver implementations were confused about the interpretation of the
framerate field, but hopefully this will be consistent everywhere
once 0.40.0 is released.

(cherry picked from commit ff35aa8ca4069bf1543adeec4c28e51e4a012eee)
libavcodec/vaapi_encode.c
libavcodec/vaapi_encode.h