[MPlayer-dev-eng] [PATCH] add -gamma as a command line option

Ivan Kalvachev ikalvachev at gmail.com
Thu Mar 10 01:15:55 CET 2011


On 3/10/11, Vladimir Mosgalin <mosgalin at vm10124.spb.edu> wrote:
> Hi Reimar Döffinger!
>
>  On 2011.03.09 at 22:13:42 +0100, Reimar Döffinger wrote next:
>
>> On Wed, Mar 09, 2011 at 12:02:21PM -0700, Kevin DeKorte wrote:
>> > This patch adds -gamma as a command line option
>>
>> Hm. Assuming this actually works there sure is nothing speaking
>> against it (and as far as I can tell it should work).
>> Just strange this comes up only now, seems there's really few people
>> caring about gamma?
>
> Mmm, I suddenly discovered that mplayer (or video driver? well whatever)
> exactly follows gamma set by xgamma, with any kind of gl output,
> including gl:yuv=0, gl:yuv=2 and even for xv, at least with my current
> video card & driver. Which actually turned better solution than using
> in-mplayer gamma control (I have to set gamma for this monitor to a
> big value, 1.2, to get proper 2.2 gamma, as it's about 2.65 by default).
>
> Both gamma control work at the same time without affecting each other,
> but I don't have any reason to use mplayer gamma control now..
>
> Now, if only Xorg would stop resetting gamma when switching to fullscreen
> apps that change resolution and back *grumble*

There is option "Gamma" in the monitor section of xorg.conf, you can
try playing with it.


More information about the MPlayer-dev-eng mailing list