diff options
author | XinfengZhang <carl.zhang@intel.com> | 2017-12-25 21:44:39 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2018-01-02 13:30:54 +0800 |
commit | 94fdf9cb759e3bc29ac952fb63a9cd8348173728 (patch) | |
tree | f872112f61be9b805619e3c2cef61ee77e5bb7aa | |
parent | 68a4befd03535bf9ed8077b27d8a0c421951a445 (diff) | |
download | libva-94fdf9cb759e3bc29ac952fb63a9cd8348173728.tar.gz |
remove max_display_attributes value check.
max_display_attributes maybe is zero, because driver dont support display attribute
Signed-off-by: XinfengZhang <carl.zhang@intel.com>
-rw-r--r-- | va/va.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -451,7 +451,6 @@ static VAStatus va_openDriver(VADisplay dpy, char *driver_name) CHECK_MAXIMUM(vaStatus, ctx, attributes); CHECK_MAXIMUM(vaStatus, ctx, image_formats); CHECK_MAXIMUM(vaStatus, ctx, subpic_formats); - CHECK_MAXIMUM(vaStatus, ctx, display_attributes); CHECK_STRING(vaStatus, ctx, vendor); CHECK_VTABLE(vaStatus, ctx, Terminate); CHECK_VTABLE(vaStatus, ctx, QueryConfigProfiles); |