Re: [Mesa-dev] [PATCH 3/5] st/va: Return surface formats depending on config chroma format

2016-10-17 Thread Julien Isorce
Hi Mark, Thx for the patch. I can see it has already landed. I just tried it with gstreamer-vaapi and it causes problem since they create the config like this for VPP: va_status = vaCreateConfig (filter->va_display, VAProfileNone, VAEntrypointVideoProc, NULL, 0, &filter->va_config); As yo

[Mesa-dev] [PATCH 3/5] st/va: Return surface formats depending on config chroma format

2016-10-12 Thread Mark Thompson
This makes the supported format actually match the configuration, and allows the user to observe that NV12 is supported for video processing where previously they couldn't (though it did always work if they blindly tried to use it anyway). --- src/gallium/state_trackers/va/surface.c | 12 +