Skip to content

[3.0] dxva: use the actual surface size to test decoder support

Steve Lhomme requested to merge robUx4/vlc:30-dxva-surface into 3.0.x

The container may lie but the size that libavcodec requests is the one it will use. We need this size to probe the decoder in D3D11. There doesn't seem to be a way to check the size support in dxva2.

Similar to e4cc2f84 but without setting an output video_format_t.

Merge request reports