From f4922d6bf51b064fb21f416bc86b54ae7877d06a Mon Sep 17 00:00:00 2001 From: Alexander David Frick Date: Wed, 25 Jan 2023 02:37:05 -0600 Subject: [PATCH] Update vaapi_video_decode_accelerator.h --- src/media/gpu/vaapi/vaapi_video_decode_accelerator.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/media/gpu/vaapi/vaapi_video_decode_accelerator.h b/src/media/gpu/vaapi/vaapi_video_decode_accelerator.h index 25400a80..3223be3a 100644 --- a/src/media/gpu/vaapi/vaapi_video_decode_accelerator.h +++ b/src/media/gpu/vaapi/vaapi_video_decode_accelerator.h @@ -27,6 +27,7 @@ #include "base/thread_annotations.h" #include "base/threading/thread.h" #include "base/trace_event/memory_dump_provider.h" +#include "build/build_config.h" #include "media/base/bitstream_buffer.h" #include "media/gpu/decode_surface_handler.h" #include "media/gpu/gpu_video_decode_accelerator_helpers.h" @@ -77,7 +78,7 @@ class MEDIA_GPU_EXPORT VaapiVideoDecodeAccelerator void Decode(scoped_refptr buffer, int32_t bitstream_id) override; void AssignPictureBuffers(const std::vector& buffers) override; -#if defined(USE_OZONE) +#if BUILDFLAG(IS_OZONE) void ImportBufferForPicture( int32_t picture_buffer_id, VideoPixelFormat pixel_format,