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

Unified Diff: chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc

Issue 1636083003: H264 HW encode using VideoToolbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: miu@ comments. 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
Index: chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc
diff --git a/chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc b/chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc
index ce17cbfd64c67708e8bf72c29180a983db096175..e19b18dad712da03155cc3850fad6f9359bd2c6f 100644
--- a/chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc
+++ b/chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc
@@ -326,6 +326,9 @@ class CastStreamingApiTestWithPixelOutput : public CastStreamingApiTest {
void SetUpCommandLine(base::CommandLine* command_line) override {
command_line->AppendSwitchASCII(::switches::kWindowSize, "128,128");
+#if defined(OS_MACOSX)
+ command_line->AppendSwitch(::switches::kDisableVTAcceleratedVideoEncode);
miu 2016/03/09 01:48:50 Is this still needed? If the tests now work, let'
emircan 2016/03/09 02:26:03 Unfortunately it is still needed. In my local test
miu 2016/03/09 03:03:19 Ok, I think this may be the problem: https://code.
emircan 2016/03/09 04:04:45 Thank you very much. Now, cast test works as expec
+#endif // defined(OS_MACOSX)
CastStreamingApiTest::SetUpCommandLine(command_line);
}
};

Powered by Google App Engine
This is Rietveld 408576698