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

Unified Diff: media/gpu/vaapi_wrapper.cc

Issue 2834313002: Update third_party/libva to version 1.7.1 (Closed)
Patch Set: Update third_party/libva to version 1.7.1 and check whether the version of libva a platform support… Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/libva/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/vaapi_wrapper.cc
diff --git a/media/gpu/vaapi_wrapper.cc b/media/gpu/vaapi_wrapper.cc
index 21ffdabc4e8af5fad529413845d6c04f9e402edd..46189911364cc6fb4f52a6c855930d34454c719a 100644
--- a/media/gpu/vaapi_wrapper.cc
+++ b/media/gpu/vaapi_wrapper.cc
@@ -129,9 +129,10 @@ static const ProfileMap kProfileMap[] = {
// H264PROFILE_HIGH*.
{H264PROFILE_HIGH, VAProfileH264High},
{VP8PROFILE_ANY, VAProfileVP8Version0_3},
- // TODO(servolk): Need to add VP9 profiles 1,2,3 here after rolling
- // third_party/libva to 1.7. crbug.com/598118
{VP9PROFILE_PROFILE0, VAProfileVP9Profile0},
+ {VP9PROFILE_PROFILE1, VAProfileVP9Profile1},
+ {VP9PROFILE_PROFILE2, VAProfileVP9Profile2},
+ {VP9PROFILE_PROFILE3, VAProfileVP9Profile3},
};
static std::vector<VAConfigAttrib> GetRequiredAttribs(
@@ -1224,8 +1225,8 @@ bool VaapiWrapper::VADisplayState::Initialize() {
DVLOG(1) << "VAAPI version: " << major_version_ << "." << minor_version_;
}
- if (VAAPIVersionLessThan(0, 34)) {
- LOG(ERROR) << "VAAPI version < 0.34 is not supported.";
+ if (VAAPIVersionLessThan(0, 39)) {
+ LOG(ERROR) << "VAAPI version < 0.39 is not supported.";
return false;
}
return true;
« no previous file with comments | « no previous file | third_party/libva/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698