summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context_wayland.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-05-30 20:01:44 +0200
committerwm4 <wm4@nowhere>2016-05-30 20:03:01 +0200
commit9009601c2d3b2a6d7806d63346c900e0a4c9e2ca (patch)
tree4ce07777136de65ec20ba405e2531fb40d312777 /video/out/opengl/context_wayland.c
parent4853eca8c619dfc9a942d250add5ecc22ceafa90 (diff)
downloadmpv-9009601c2d3b2a6d7806d63346c900e0a4c9e2ca.tar.bz2
mpv-9009601c2d3b2a6d7806d63346c900e0a4c9e2ca.tar.xz
vf: fix filter auto-insertion
Commit 0348cd08 was too naive/simple, and always inserted the d3d11vpp filter if any d3d11 output image formats were supported, even if it makes no sense. For example --vf=format=rgb8 already breaks it. It needs to take the set of supported input formats into account. the weird format negotiation makes this hard. As a simple and cheap solution, make some assumptions about the supported formats of a filter. I hope to simplify this one day by using another format negotiation algorithm, but this can probably wait.
Diffstat (limited to 'video/out/opengl/context_wayland.c')
0 files changed, 0 insertions, 0 deletions