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

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..e1f5ad02018ca9bfc2653fb97d06d812d41a7d0f 100644
--- a/content/renderer/media/video_track_recorder.cc
+++ b/content/renderer/media/video_track_recorder.cc
@@ -66,6 +66,10 @@ static struct {
// profile is found, returns VIDEO_CODEC_PROFILE_UNKNOWN.
media::VideoCodecProfile CodecIdToVEAProfile(
content::VideoTrackRecorder::CodecId codec) {
+ // See https://crbug.com/616659.
+#if defined(OS_CHROMEOS)
+ return media::VIDEO_CODEC_PROFILE_UNKNOWN;
+#endif // defined(OS_CHROMEOS)
content::RenderThreadImpl* render_thread_impl =
content::RenderThreadImpl::current();
if (!render_thread_impl)
« 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