diff options
Diffstat (limited to 'www/chromium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc')
-rw-r--r-- | www/chromium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/chromium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc b/www/chromium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc index d0ef0d9c3153..55873e2d9c20 100644 --- a/www/chromium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc +++ b/www/chromium/files/patch-media_gpu_vaapi_vaapi__video__decoder.cc @@ -1,11 +1,11 @@ ---- media/gpu/vaapi/vaapi_video_decoder.cc.orig 2024-02-23 21:04:38 UTC +--- media/gpu/vaapi/vaapi_video_decoder.cc.orig 2024-03-22 08:19:40 UTC +++ media/gpu/vaapi/vaapi_video_decoder.cc -@@ -789,7 +789,7 @@ void VaapiVideoDecoder::ApplyResolutionChangeWithScree +@@ -779,7 +779,7 @@ void VaapiVideoDecoder::ApplyResolutionChangeWithScree const gfx::Size decoder_natural_size = aspect_ratio_.GetNaturalSize(decoder_visible_rect); -#if BUILDFLAG(IS_LINUX) +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) - absl::optional<DmabufVideoFramePool::CreateFrameCB> allocator = + std::optional<DmabufVideoFramePool::CreateFrameCB> allocator = base::BindRepeating(&AllocateCustomFrameProxy, weak_this_); std::vector<ImageProcessor::PixelLayoutCandidate> candidates = { |