diff options
author | Niklas Haas <git@nand.wakku.to> | 2015-02-03 08:31:06 +0100 |
---|---|---|
committer | Niklas Haas <git@nand.wakku.to> | 2015-02-03 08:47:48 +0100 |
commit | fa1698cb9afb1ef6e602372804dd3999f0b242a0 (patch) | |
tree | cecaa6c19e1378946356622385fdcab57033bdbd /video/img_format.c | |
parent | 5de7f1c5acc64e2d15b763bb12fe25345bd46801 (diff) | |
download | mpv-fa1698cb9afb1ef6e602372804dd3999f0b242a0.tar.bz2 mpv-fa1698cb9afb1ef6e602372804dd3999f0b242a0.tar.xz |
vo_opengl: always clamp the video to range 0-1
Before this, enabling :gamma in combination with :sigmoid and probably a few
other things results in ugly artifacts because the video isn't clamped until
after the :gamma was applied (or at all, if the cms_matrix is unused).
Diffstat (limited to 'video/img_format.c')
0 files changed, 0 insertions, 0 deletions