diff options
author | Mark Thompson <sw@jkqxz.net> | 2016-06-18 14:10:13 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2016-06-21 20:42:22 +0100 |
commit | fe498ef5144d3712b887f44a0c5e654add99ead7 (patch) | |
tree | 814b068e2abcb4fe433636696aa675f9285551f4 /avconv_vdpau.c | |
parent | 11b8030309ee93d79b3a6cd4b83bf00757db1598 (diff) | |
download | ffmpeg-fe498ef5144d3712b887f44a0c5e654add99ead7.tar.gz |
hwcontext_vaapi: Return all formats for constraints without config
No longer make a dummy device configuration to query. Instead, just
return everything we recognise from the whole format list. Also
change the device setup code to query that list only, rather than
intersecting it with the constraint output.
This makes hwupload more usable on mesa/gallium where the video
processor only declares support for RGB formats, making it unable to
deal with YUV formats before this patch. It might introduce some
different trickier failures in the internal upload/download code
because the set of allowed formats there has changed, though I didn't
find any obvious regressions with i965.
Diffstat (limited to 'avconv_vdpau.c')
0 files changed, 0 insertions, 0 deletions