[Mesa-dev] [PATCH] st/va: Make VAAPI_DISABLE_INTERLACE default true

Leo Liu leo.liu at amd.com
Thu Sep 15 15:02:07 UTC 2016



On 09/15/2016 10:43 AM, Andy Furniss wrote:
> Since bf901a2
> st/va: also honors interlaced preference when providing a video format
> existing scripts and most use cases will need true.
>
> Signed-off-by: Andy Furniss <adf.lists at gmail.com>
> ---
>  src/gallium/state_trackers/va/surface.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/state_trackers/va/surface.c 
> b/src/gallium/state_trackers/va/surface.c
> index 00df69d..e73e17e 100644
> --- a/src/gallium/state_trackers/va/surface.c
> +++ b/src/gallium/state_trackers/va/surface.c
> @@ -43,7 +43,7 @@
>
>  #include "va_private.h"
>
> -DEBUG_GET_ONCE_BOOL_OPTION(nointerlace, "VAAPI_DISABLE_INTERLACE", 
> FALSE);
> +DEBUG_GET_ONCE_BOOL_OPTION(nointerlace, "VAAPI_DISABLE_INTERLACE", 
> TRUE);

Like being mentioned,  It'll still override the preferred interlaced 
format when this env is not explicitly used.

Not sure this will be okay with other case. @Julien?

Regards,
Leo

>
>  #include <va/va_drmcommon.h>
>



More information about the mesa-dev mailing list