hardware_VideoDecodeCapable: Update the test for libva 1.2
libva 1.2.2 replaces the Baseline profile with Constrained Baseline.
When libva was updated, the test wasn't. This updates the test.
BUG=chromium:355040
TEST=it's a test, the CQ will run it
Change-Id: I20c41eb3e872df335f3a6a5c7a4abea35fedaae6
Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/191130
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Pawel Osciak <posciak@chromium.org>
diff --git a/client/site_tests/hardware_VideoDecodeCapable/hardware_VideoDecodeCapable.py b/client/site_tests/hardware_VideoDecodeCapable/hardware_VideoDecodeCapable.py
index 3691f13..1286212 100644
--- a/client/site_tests/hardware_VideoDecodeCapable/hardware_VideoDecodeCapable.py
+++ b/client/site_tests/hardware_VideoDecodeCapable/hardware_VideoDecodeCapable.py
@@ -10,9 +10,9 @@
# The following VA_XXX values are copied from va/va.h
# VA profiles that we are interested in
-VAProfileH264Baseline = 5
VAProfileH264Main = 6
VAProfileH264High = 7
+VAProfileH264ConstrainedBaseline = 13
# VA Entrypoint that we are interested in
VAEntrypointVLD = 1
@@ -29,7 +29,7 @@
version = 1
REQUESTED_VAAPI_PROFILES = [
- VAProfileH264Baseline,
+ VAProfileH264ConstrainedBaseline,
VAProfileH264Main,
VAProfileH264High]