summaryrefslogtreecommitdiffstats
path: root/libvo/vo_x11.c
diff options
context:
space:
mode:
authornand <nand@lavabit.com>2012-11-11 21:09:47 +0100
committerwm4 <wm4@nowhere>2012-11-11 21:34:58 +0100
commita55811790902b78915a1613f3551fe763ccda41a (patch)
treea06004b7f00899bd9b48285ea6846a6207c69efa /libvo/vo_x11.c
parenta400c8ff84a9d259923ee62f3ddc067d459d47eb (diff)
downloadmpv-a55811790902b78915a1613f3551fe763ccda41a.tar.bz2
mpv-a55811790902b78915a1613f3551fe763ccda41a.tar.xz
vo_opengl: fix srgb for subtitles
Based on a patch by nand. This is needed, because sRGB mode changes the video over-all gamma. This has to be done for subtitles as well. The final srgb_compand() call in the OSD shader compensates for the fact that in ed8fad729d04 framebuffer use was replaced with doing sRGB conversion manually by srgb_compand(). This only affects subtitles rendered with libass. Nothing is changed for RGB subs. Also change the USE_ flags for OSD shaders to USE_OSD_ to make the difference between video and OSD rendering more apparent.
Diffstat (limited to 'libvo/vo_x11.c')
0 files changed, 0 insertions, 0 deletions