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

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

Issue 1912613002: Revert "Reland: Tie kWebRtcH264WithOpenH264FFmpeg and kEnableWebRtcHWH264Encoding flags on Mac" (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « chrome/app/generated_resources.grd ('k') | content/renderer/media/rtc_video_encoder_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/vt_video_encode_accelerator_mac.cc
diff --git a/content/common/gpu/media/vt_video_encode_accelerator_mac.cc b/content/common/gpu/media/vt_video_encode_accelerator_mac.cc
index 7644d189a44d28fb078b579c3468f18e69f8bae2..d48b92d50d441c70261cc94ba9f8dc04b8fe1680 100644
--- a/content/common/gpu/media/vt_video_encode_accelerator_mac.cc
+++ b/content/common/gpu/media/vt_video_encode_accelerator_mac.cc
@@ -6,7 +6,6 @@
#include <memory>
-#include "base/mac/mac_util.h"
#include "base/thread_task_runner_handle.h"
#include "media/base/mac/coremedia_glue.h"
#include "media/base/mac/corevideo_glue.h"
@@ -92,11 +91,6 @@ VTVideoEncodeAccelerator::GetSupportedProfiles() {
DLOG(ERROR) << "Failed creating VideoToolbox glue.";
return profiles;
}
- if (!base::mac::IsOSMavericksOrLater()) {
- DLOG(ERROR) << "VideoToolbox hardware encoder is supported on Mac OS 10.9 "
- "and later.";
- return profiles;
- }
const bool rv = CreateCompressionSession(
media::video_toolbox::DictionaryWithKeysAndValues(nullptr, nullptr, 0),
gfx::Size(kDefaultResolutionWidth, kDefaultResolutionHeight), true);
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/renderer/media/rtc_video_encoder_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698