Skip to content

Commit

Permalink
avutil: hwcontext_vaapi, add AV_VAAPI_DRIVER_QUIRK_FRAME_POOL_RESIZING
Browse files Browse the repository at this point in the history
  • Loading branch information
xuguangxin committed Jul 7, 2021
1 parent 073647b commit 4a668b0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libavutil/hwcontext_vaapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ enum {
* and the results of the vaQuerySurfaceAttributes() call will be faked.
*/
AV_VAAPI_DRIVER_QUIRK_SURFACE_ATTRIBUTES = (1 << 3),

/**
* The driver does not support dynamically frame pool resizing.
* We need to provide all va surfaces at vaCreateContext
*/
AV_VAAPI_DRIVER_QUIRK_FRAME_POOL_RESIZING = (1 << 4),
};

/**
Expand Down

0 comments on commit 4a668b0

Please sign in to comment.