From c0716f3dfbbf7767fd8b5e9cf26301e80e9e24a4 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Thu, 24 Aug 2017 08:45:10 +0800 Subject: Fix deprecated warning enums marked as deprecated should not be used any more. Signed-off-by: Xiang, Haihao --- va/va_fool.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'va/va_fool.c') diff --git a/va/va_fool.c b/va/va_fool.c index 3307374..0625277 100644 --- a/va/va_fool.c +++ b/va/va_fool.c @@ -187,8 +187,7 @@ int va_FoolCreateConfig( fool_ctx->enabled = 1; else if ((va_fool_codec & VA_FOOL_FLAG_ENCODE) && (entrypoint == VAEntrypointEncSlice)) { /* H264 is desired */ - if (((profile == VAProfileH264Baseline || - profile == VAProfileH264Main || + if (((profile == VAProfileH264Main || profile == VAProfileH264High || profile == VAProfileH264ConstrainedBaseline)) && strstr(fool_ctx->fn_enc, "h264")) -- cgit v1.2.1