mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-13 19:05:37 +00:00
lavc/vaapi_encode: Query surface alignment
It needs to create temporary config to query surface attribute. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
This commit is contained in:
parent
72a3656e84
commit
bcfbf2bac8
2 changed files with 70 additions and 0 deletions
|
|
@ -260,6 +260,10 @@ typedef struct VAAPIEncodeContext {
|
|||
* This is a RefStruct reference.
|
||||
*/
|
||||
VABufferID *coded_buffer_ref;
|
||||
|
||||
// Surface alignment required by driver.
|
||||
int surface_alignment_width;
|
||||
int surface_alignment_height;
|
||||
} VAAPIEncodeContext;
|
||||
|
||||
typedef struct VAAPIEncodeType {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue