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

Unified Diff: chrome/renderer/media/cast_rtp_stream.cc

Issue 668633002: Duplicate VideoEncodeAccelerator::SupportedProfile in gpu_info.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | content/common/gpu/client/gpu_video_encode_accelerator_host.h » ('j') | gpu/config/gpu_info.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/media/cast_rtp_stream.cc
diff --git a/chrome/renderer/media/cast_rtp_stream.cc b/chrome/renderer/media/cast_rtp_stream.cc
index a79e4d5b3e8014483781715e94038d38185e832d..bbebddb6bea9dbb028689b63e556da2885a277a7 100644
--- a/chrome/renderer/media/cast_rtp_stream.cc
+++ b/chrome/renderer/media/cast_rtp_stream.cc
@@ -102,7 +102,7 @@ CastRtpPayloadParams DefaultH264Payload() {
bool IsHardwareVP8EncodingSupported() {
// Query for hardware VP8 encoder support.
- std::vector<media::VideoEncodeAccelerator::SupportedProfile> vea_profiles =
+ std::vector<gpu::VideoEncodeAcceleratorSupportedProfile> vea_profiles =
content::GetSupportedVideoEncodeAcceleratorProfiles();
for (size_t i = 0; i < vea_profiles.size(); ++i) {
if (vea_profiles[i].profile >= media::VP8PROFILE_MIN &&
@@ -115,7 +115,7 @@ bool IsHardwareVP8EncodingSupported() {
bool IsHardwareH264EncodingSupported() {
// Query for hardware H.264 encoder support.
- std::vector<media::VideoEncodeAccelerator::SupportedProfile> vea_profiles =
+ std::vector<gpu::VideoEncodeAcceleratorSupportedProfile> vea_profiles =
content::GetSupportedVideoEncodeAcceleratorProfiles();
for (size_t i = 0; i < vea_profiles.size(); ++i) {
if (vea_profiles[i].profile >= media::H264PROFILE_MIN &&
« no previous file with comments | « no previous file | content/common/gpu/client/gpu_video_encode_accelerator_host.h » ('j') | gpu/config/gpu_info.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698