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

Unified Diff: content/renderer/media/video_track_recorder.cc

Issue 2035593002: Disable CrOS VEA for Media Recorder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/video_track_recorder.cc
diff --git a/content/renderer/media/video_track_recorder.cc b/content/renderer/media/video_track_recorder.cc
index d441adc6b35a25d53132011783a5dfcc561f8715..627f985091beb53dcdde8092308e146e0f9dfdc0 100644
--- a/content/renderer/media/video_track_recorder.cc
+++ b/content/renderer/media/video_track_recorder.cc
@@ -66,8 +66,13 @@ static struct {
// profile is found, returns VIDEO_CODEC_PROFILE_UNKNOWN.
media::VideoCodecProfile CodecIdToVEAProfile(
content::VideoTrackRecorder::CodecId codec) {
+// See crbug.com/616659.
mcasas 2016/06/02 02:48:51 nit: shift this line two spaces right. https://
emircan 2016/06/02 20:50:55 Done.
+#if defined(OS_CHROMEOS)
+ return media::VIDEO_CODEC_PROFILE_UNKNOWN;
+#endif // defined(OS_CHROMEOS)
mcasas 2016/06/02 02:48:51 It might be that some compilers will complain abou
emircan 2016/06/02 20:50:55 Acknowledged.
content::RenderThreadImpl* render_thread_impl =
content::RenderThreadImpl::current();
+
if (!render_thread_impl)
return media::VIDEO_CODEC_PROFILE_UNKNOWN;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698