summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/common/gpu/media/gpu_video_decode_accelerator.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.cc b/content/common/gpu/media/gpu_video_decode_accelerator.cc
index 0c0bfc6..f80d3fa 100644
--- a/content/common/gpu/media/gpu_video_decode_accelerator.cc
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc
@@ -97,8 +97,9 @@ void GpuVideoDecodeAccelerator::NotifyError(
void GpuVideoDecodeAccelerator::OnGetConfigs(
const std::vector<uint32>& requested, std::vector<uint32>* matched) {
- // TODO(vrk): Need to rethink GetConfigs.
- NOTIMPLEMENTED();
+ if (!video_decode_accelerator_.get())
+ return;
+ video_decode_accelerator_->GetConfigs(requested, matched);
}
void GpuVideoDecodeAccelerator::OnInitialize(