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

Unified Diff: media/formats/webm/webm_video_client.cc

Issue 418193003: Using PROFILE_ANY for vp8 and vp9 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixing compile failures Created 6 years, 5 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: media/formats/webm/webm_video_client.cc
diff --git a/media/formats/webm/webm_video_client.cc b/media/formats/webm/webm_video_client.cc
index bda78efafac2207226becdbde1e9616ed2e5617d..c2cf55173ae2afdc65089d3c9d8fac03829f15d3 100644
--- a/media/formats/webm/webm_video_client.cc
+++ b/media/formats/webm/webm_video_client.cc
@@ -39,10 +39,10 @@ bool WebMVideoClient::InitializeConfig(
VideoCodecProfile profile = VIDEO_CODEC_PROFILE_UNKNOWN;
if (codec_id == "V_VP8") {
video_codec = kCodecVP8;
- profile = VP8PROFILE_MAIN;
+ profile = VP8PROFILE_UNSPECIFIED;
} else if (codec_id == "V_VP9") {
video_codec = kCodecVP9;
- profile = VP9PROFILE_MAIN;
+ profile = VP9PROFILE_UNSPECIFIED;
} else {
MEDIA_LOG(log_cb_) << "Unsupported video codec_id " << codec_id;
return false;

Powered by Google App Engine
This is Rietveld 408576698