diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2017-08-24 08:45:10 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2017-09-27 12:49:34 +0800 |
commit | c0716f3dfbbf7767fd8b5e9cf26301e80e9e24a4 (patch) | |
tree | 8bf20db150a9b813f41fd99f19affa16ee29e043 /va/va_fool.c | |
parent | 8035c8afd8bc2f93c012aa861de73366addaa659 (diff) | |
download | libva-c0716f3dfbbf7767fd8b5e9cf26301e80e9e24a4.tar.gz |
Fix deprecated warning
enums marked as deprecated should not be used any more.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'va/va_fool.c')
-rw-r--r-- | va/va_fool.c | 3 |
1 files changed, 1 insertions, 2 deletions
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")) |