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

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: Better TODOs 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 51e8884fedb1b35fab80b24e13abda6ae4c8f688..3c5b8920d934ad402c1dfa840c03ef2425808e7f 100644
--- a/media/ffmpeg/ffmpeg_common.cc
+++ b/media/ffmpeg/ffmpeg_common.cc
@@ -457,7 +457,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_PROFILE0;
else
profile = ProfileIDToVideoCodecProfile(stream->codec->profile);

Powered by Google App Engine
This is Rietveld 408576698