diff options
Diffstat (limited to 'chromium/media/video/video_decode_accelerator.cc')
-rw-r--r-- | chromium/media/video/video_decode_accelerator.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chromium/media/video/video_decode_accelerator.cc b/chromium/media/video/video_decode_accelerator.cc index b15a8aa2adb..78171dcfbb8 100644 --- a/chromium/media/video/video_decode_accelerator.cc +++ b/chromium/media/video/video_decode_accelerator.cc @@ -71,6 +71,11 @@ gpu::SharedImageStub* VideoDecodeAccelerator::Client::GetSharedImageStub() return nullptr; } +CommandBufferHelper* VideoDecodeAccelerator::Client::GetCommandBufferHelper() + const { + return nullptr; +} + VideoDecodeAccelerator::~VideoDecodeAccelerator() = default; void VideoDecodeAccelerator::Decode(scoped_refptr<DecoderBuffer> buffer, @@ -105,6 +110,11 @@ bool VideoDecodeAccelerator::SupportsSharedImagePictureBuffers() const { return false; } +VideoDecodeAccelerator::TextureAllocationMode +VideoDecodeAccelerator::GetSharedImageTextureAllocationMode() const { + return VideoDecodeAccelerator::TextureAllocationMode::kAllocateGLTextures; +} + VideoDecodeAccelerator::SupportedProfile::SupportedProfile() : profile(media::VIDEO_CODEC_PROFILE_UNKNOWN), encrypted_only(false) {} |