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

Unified Diff: media/ffmpeg/ffmpeg_common.cc

Issue 1769593002: Add 4 VP9 profiles to the media::VideoCodecProfile enum. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hevc-codec-7
Patch Set: Use VP9 profile0 by default instead of profile3 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: media/ffmpeg/ffmpeg_common.cc
diff --git a/media/ffmpeg/ffmpeg_common.cc b/media/ffmpeg/ffmpeg_common.cc
index f0812552ec4f0d943c496fd89be87bbc90733268..bbc154e0c73a534a57fe8254e27169aab9c2d221 100644
--- a/media/ffmpeg/ffmpeg_common.cc
+++ b/media/ffmpeg/ffmpeg_common.cc
@@ -461,7 +461,8 @@ bool AVStreamToVideoDecoderConfig(const AVStream* stream,
if (codec == kCodecVP8)
profile = VP8PROFILE_ANY;
else if (codec == kCodecVP9)
- profile = VP9PROFILE_ANY;
+ // TODO(servolk): Find a way to obtain actual VP9 profile from FFmpeg.
ddorwin 2016/03/25 22:51:22 Bug?
servolk 2016/03/25 23:52:01 I think we can reuse crbug.com/592074 for this, le
+ profile = VP9PROFILE_PROFILE0;
else
profile = ProfileIDToVideoCodecProfile(stream->codec->profile);

Powered by Google App Engine
This is Rietveld 408576698