summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-07-06 02:34:30 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:05 +0200
commitc42a21c9fad9b0cb9bdb377779f7034ed06ec30a (patch)
treed42085c160286f9c871f7c6dfaf1e125a5856ca9 /video/out/x11_common.c
parentf7d9365eb98158d6d3d03c0ef2d02139a29b811d (diff)
downloadmpv-c42a21c9fad9b0cb9bdb377779f7034ed06ec30a.tar.bz2
mpv-c42a21c9fad9b0cb9bdb377779f7034ed06ec30a.tar.xz
vo_gpu: hwdec_vaegl: refactor format probing
No functional changes, just preparation for the next commit. Split the probing into multiple functions. Prepare for the yet unused possibility to pass AVVAAPIHWConfig to probing. try_format_pixfmt() now assumes it can be called multiple times with the same format, so it filters the format. The format probing is now something like O(n^2) for n formats, but n will most likely remain something under 50 or so.
Diffstat (limited to 'video/out/x11_common.c')
0 files changed, 0 insertions, 0 deletions