diff options
Diffstat (limited to 'video/vaapi.h')
-rw-r--r-- | video/vaapi.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/video/vaapi.h b/video/vaapi.h index 01fb4fa980..de7d6d98d8 100644 --- a/video/vaapi.h +++ b/video/vaapi.h @@ -36,7 +36,6 @@ struct mp_vaapi_ctx { struct AVBufferRef *av_device_ref; // AVVAAPIDeviceContext* struct va_image_formats *image_formats; bool gpu_memcpy_message; - pthread_mutex_t lock; // Internal, for va_create_standalone() void *native_ctx; void (*destroy_native_ctx)(void *native_ctx); @@ -46,9 +45,6 @@ bool check_va_status(struct mp_log *log, VAStatus status, const char *msg); #define CHECK_VA_STATUS(ctx, msg) check_va_status((ctx)->log, status, msg) -#define va_lock(ctx) (void)(ctx) -#define va_unlock(ctx) (void)(ctx) - int va_get_colorspace_flag(enum mp_csp csp); struct mp_vaapi_ctx * va_initialize(VADisplay *display, struct mp_log *plog, bool probing); |