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

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: Rebase to ToT 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..ae1bfca5ea8b2230058fd4dc3f4f91f54f204607 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 VP9 profile from FFmpeg.
+ profile = VP9PROFILE_PROFILE3;
fgalligan1 2016/03/23 18:14:09 I read the comments on why this should be profile
servolk 2016/03/24 18:05:43 I'm not sure I understand the distinction, this is
else
profile = ProfileIDToVideoCodecProfile(stream->codec->profile);

Powered by Google App Engine
This is Rietveld 408576698