summaryrefslogtreecommitdiffstats
path: root/video/decode/hw_d3d11va.c
Commit message (Collapse)AuthorAgeFilesLines
* decode: fix extra surface countwm42017-02-271-1/+1
| | | | | | | | | | | | FFmpeg could crash with vaapi (new) and --vo=opengl + interpolation. It seems the actual surface count the old vaapi code uses (and which usually never exceeded the preallocated amount) was higher than what was used for the new vaapi code, so just correct that. The d3d helpers also had weird code that bumped the real pool size, fix them as well. Why this would result in an assertion failure instead of a proper error, who knows.
* build: prefix hwaccel decoder wrapper filenames with hw_wm42017-01-171-0/+584
Should have done this a long time ago. d3d.c remains as it is, because it's just a bunch of helper functions.