Revert "st/va: add enviromental variable to disable interlace"

This reverts commit 10dec2de2d.

The environment variable is no longer needed with the previous change

Reviewed-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
Leo Liu 2017-08-23 16:24:59 -04:00
parent 15d4d44d9b
commit 6e8ef53837
1 changed files with 0 additions and 4 deletions

View File

@ -43,8 +43,6 @@
#include "va_private.h"
DEBUG_GET_ONCE_BOOL_OPTION(nointerlace, "VAAPI_DISABLE_INTERLACE", FALSE);
#include <va/va_drmcommon.h>
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));