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

Unified Diff: content/renderer/pepper/pepper_video_encoder_host.cc

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Rebased again Created 3 years, 5 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/renderer/pepper/pepper_video_encoder_host.cc
diff --git a/content/renderer/pepper/pepper_video_encoder_host.cc b/content/renderer/pepper/pepper_video_encoder_host.cc
index 4f55b433bbc0642529991239ba77d114b1d4c209..36e949ad37c88a06a9a89ea3625b15e433be7d68 100644
--- a/content/renderer/pepper/pepper_video_encoder_host.cc
+++ b/content/renderer/pepper/pepper_video_encoder_host.cc
@@ -164,7 +164,7 @@ PP_VideoProfileDescription PP_FromVideoEncodeAcceleratorSupportedProfile(
return pp_profile;
}
-bool PP_HardwareAccelerationCompatible(bool accelerated,
+bool PP_HardwareAccelerationCompatibleVideo(bool accelerated,
PP_HardwareAcceleration requested) {
switch (requested) {
case PP_HARDWAREACCELERATION_ONLY:
@@ -509,7 +509,7 @@ bool PepperVideoEncoderHost::IsInitializationValid(
if (output_profile == profile.profile &&
input_size.width <= profile.max_resolution.width &&
input_size.height <= profile.max_resolution.height &&
- PP_HardwareAccelerationCompatible(
+ PP_HardwareAccelerationCompatibleVideo(
profile.hardware_accelerated == PP_TRUE, acceleration))
return true;
}
« no previous file with comments | « content/renderer/pepper/pepper_media_stream_video_track_host.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698