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

Unified Diff: media/ffmpeg/ffmpeg_common.cc

Issue 418193003: Using PROFILE_ANY for vp8 and vp9 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/ffmpeg/ffmpeg_common.cc
diff --git a/media/ffmpeg/ffmpeg_common.cc b/media/ffmpeg/ffmpeg_common.cc
index 5f52fe95bad8f2d03deb889a2e0ef88b7016e32f..86c12658939fb4b4728b73803f8a4adfb992a7c5 100644
--- a/media/ffmpeg/ffmpeg_common.cc
+++ b/media/ffmpeg/ffmpeg_common.cc
@@ -382,9 +382,9 @@ void AVStreamToVideoDecoderConfig(
VideoCodecProfile profile = VIDEO_CODEC_PROFILE_UNKNOWN;
if (codec == kCodecVP8)
- profile = VP8PROFILE_MAIN;
+ profile = VP8PROFILE_NOT_NEEDED;
else if (codec == kCodecVP9)
- profile = VP9PROFILE_MAIN;
+ profile = VP9PROFILE_NOT_NEEDED;
else
profile = ProfileIDToVideoCodecProfile(stream->codec->profile);

Powered by Google App Engine
This is Rietveld 408576698