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

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

Issue 1818203002: Fix Cast Streaming regression caused by enabling H264 HW encoder on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/cast_streaming/end_to_end_sender.js » ('j') | no next file with comments »
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 fb5afffae8ba4db7df75d30d741f5875826a6003..aaa9f691d00ed952726fd598d2f236abfcaf28da 100644
--- a/chrome/renderer/media/cast_rtp_stream.cc
+++ b/chrome/renderer/media/cast_rtp_stream.cc
@@ -122,6 +122,10 @@ bool IsHardwareH264EncodingSupported() {
}
// Query for hardware H.264 encoder support.
+ //
+ // TODO(miu): Look into why H.264 hardware encoder on MacOS is broken.
+ // http://crbug.com/596674
+#if !defined(OS_MACOSX)
const std::vector<media::VideoEncodeAccelerator::SupportedProfile>
vea_profiles = content::GetSupportedVideoEncodeAcceleratorProfiles();
for (const auto& vea_profile : vea_profiles) {
@@ -130,6 +134,7 @@ bool IsHardwareH264EncodingSupported() {
return true;
}
}
+#endif // !defined(OS_MACOSX)
return false;
}
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/cast_streaming/end_to_end_sender.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698