Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(720)

Unified Diff: content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc

Issue 795633005: Add VDA supported profile to GPUInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address patch set 13 review comments Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc
diff --git a/content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc b/content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc
index 3fcba612d8f3b9ae7473308306e371965c2effdf..cd4f6213ecc0493256a997d941abbe8d9df6302e 100644
--- a/content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc
+++ b/content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc
@@ -433,6 +433,12 @@ void V4L2SliceVideoDecodeAccelerator::NotifyError(Error error) {
}
}
+// static
+std::vector<media::VideoDecodeAccelerator::SupportedProfile>
+V4L2SliceVideoDecodeAccelerator::GetSupportedProfiles() {
+ return V4L2Device::GetSupportedDecodeProfiles();
+}
+
bool V4L2SliceVideoDecodeAccelerator::Initialize(
media::VideoCodecProfile profile,
VideoDecodeAccelerator::Client* client) {

Powered by Google App Engine
This is Rietveld 408576698