mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 06:05:32 +01:00
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 ff35aa8ca4)
This commit is contained in:
@@ -155,6 +155,10 @@ typedef struct VAAPIEncodeContext {
|
||||
VAEncMiscParameterBuffer misc;
|
||||
VAEncMiscParameterHRD hrd;
|
||||
} hrd_params;
|
||||
struct {
|
||||
VAEncMiscParameterBuffer misc;
|
||||
VAEncMiscParameterFrameRate fr;
|
||||
} fr_params;
|
||||
|
||||
// Per-sequence parameter structure (VAEncSequenceParameterBuffer*).
|
||||
void *codec_sequence_params;
|
||||
|
||||
Reference in New Issue
Block a user