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

Steve Lhomme robux4 at gmail.com
Tue Jan 3 10:53:04 CET 2017


On Tue, Jan 3, 2017 at 10:51 AM, Francois Cartegnie <fcvlcdev at free.fr> wrote:
> 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 ?

I don't know, there's no documentation on that.
If you request anything above 2304 on any dimension it fails,
regardless of the other dimension.

> Francois
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list