mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-27 21:40:34 +00:00
vaapi: Disable deprecation warnings around use of old struct vaapi_context
This commit is contained in:
parent
b4ecf2b582
commit
375cf55fe9
@ -59,9 +59,11 @@ typedef struct VAAPIDecodeContext {
|
||||
VAContextID va_context;
|
||||
|
||||
#if FF_API_STRUCT_VAAPI_CONTEXT
|
||||
FF_DISABLE_DEPRECATION_WARNINGS
|
||||
int have_old_context;
|
||||
struct vaapi_context *old_context;
|
||||
AVBufferRef *device_ref;
|
||||
FF_ENABLE_DEPRECATION_WARNINGS
|
||||
#endif
|
||||
|
||||
AVHWDeviceContext *device;
|
||||
|
Loading…
Reference in New Issue
Block a user