[vlc-devel] [PATCH] d3d11va: don't try to decode 4K H264 on the xbox

Francois Cartegnie fcvlcdev at free.fr
Tue Jan 3 10:51:21 CET 2017


Le 03/01/2017 à 10:34, Steve Lhomme a écrit :
> +#if VLC_WINSTORE_APP
> +    if (codec_id == AV_CODEC_ID_H264 && 
> +        (dx_sys->surface_width > 2304 || dx_sys->surface_height > 2304) &&
> +        isXboxHardware(dx_sys))
> +    {
> +        msg_Warn(va, "%dx%d resolution not supported by your hardware", dx_sys->surface_width, dx_sys->surface_height);
> +        dx_sys->surface_count = 0;
> +        return VLC_EGENERIC;
> +    }
> +#endif

Shouldn't that be total Macroblocks limit instead ?

Francois


More information about the vlc-devel mailing list