From 6e8ef538376b92381ada5dc828e8b1dd42cf936c Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Wed, 23 Aug 2017 16:24:59 -0400 Subject: [PATCH] Revert "st/va: add enviromental variable to disable interlace" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This reverts commit 10dec2de2d9f568675d66d736b48701fa26f7b50. The environment variable is no longer needed with the previous change Reviewed-by: Christian König --- src/gallium/state_trackers/va/surface.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gallium/state_trackers/va/surface.c b/src/gallium/state_trackers/va/surface.c index b116fc3f27f..67773cf76a4 100644 --- a/src/gallium/state_trackers/va/surface.c +++ b/src/gallium/state_trackers/va/surface.c @@ -43,8 +43,6 @@ #include "va_private.h" -DEBUG_GET_ONCE_BOOL_OPTION(nointerlace, "VAAPI_DISABLE_INTERLACE", FALSE); - #include static const enum pipe_format vpp_surface_formats[] = { @@ -709,8 +707,6 @@ vlVaCreateSurfaces2(VADriverContextP ctx, unsigned int format, templat.width = width; templat.height = height; - if (debug_get_option_nointerlace()) - templat.interlaced = false; memset(surfaces, VA_INVALID_ID, num_surfaces * sizeof(VASurfaceID)); -- 2.30.2