hwcontext_d3d11va: implement av_hwdevice_get_hwframe_constraints()
authorwm4 <nfxjfg@googlemail.com>
Tue, 16 Jan 2018 12:23:55 +0000 (13:23 +0100)
committerwm4 <nfxjfg@googlemail.com>
Tue, 16 Jan 2018 16:40:24 +0000 (17:40 +0100)
commit27b9f82e2c5dca3ad642ed13c2360032a17687ec
treee6004497e7d55923fc2c69503c2f735db57b55fc
parent631c56a8e46dea41585f3e7b3ef9c52b49faa385
hwcontext_d3d11va: implement av_hwdevice_get_hwframe_constraints()

D3D11 has rather fine grained per format capabilities for different uses
that can be queried at runtime. Since we don't know what the user wants
to do with the formats when av_hwdevice_get_hwframe_constraints() is
called, we simply return all formats that have the most basic support.
libavutil/hwcontext_d3d11va.c