History

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)

Mark Thompson committed 9 years ago

Commit be6546a1 parent 2201c022 files · +22 −0Browse files

Showing the changes to libavcodec/vaapi_encode.h (1 of 2 files). Show all

Unified · Split

libavcodec/vaapi_encode.h+4−0
@@ -155,6 +155,10 @@ typedef struct VAAPIEncodeContext { · 154 unmodified lines
155155 VAEncMiscParameterBuffer misc;
156156 VAEncMiscParameterHRD hrd;
157157 } hrd_params;
158+ struct {
159+ VAEncMiscParameterBuffer misc;
160+ VAEncMiscParameterFrameRate fr;
161+ } fr_params;
158162
159163 // Per-sequence parameter structure (VAEncSequenceParameterBuffer*).
160164 void *codec_sequence_params;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t