[mythtv] Fixed -- patch included
Reza Naima
reza at reza.net
Mon Aug 18 07:42:22 EDT 2003
Turns out that my DB didn't have an existing value for the contrast, so
it was returning -1, however, the code was checking for a value of
'< -1' -- so it used '-1' as the new contrast settings giving me a black
display.
Here's a simple patch -- though it's really just a typo that needs to
be fixed.
Reza
[root at pvr ~mythtv/src]# diff -c mythtv-0.11*/libs/libmythtv/channel.cpp
*** mythtv-0.11/libs/libmythtv/channel.cpp 2003-08-09
10:33:06.000000000 -0700
--- mythtv-0.11-reza/libs/libmythtv/channel.cpp 2003-08-18
06:35:07.000000000 -0700
***************
*** 558,564 ****
card_value = *setfield;
}
! if (current_value < -1) // Couldn't get from database
{
if (up)
{
--- 558,564 ----
card_value = *setfield;
}
! if (current_value < 0) // Couldn't get from database
{
if (up)
{
On Mon, Aug 18, 2003 at 04:12:09AM -0700, Reza Naima sent me this...
> I recently upgrade to 0.11 and noticed some very strange behaviour. If
> I try to adjust the contrast settings, it displays a value of 0 which
> does not update -- and after not too long, the screen goes blank and
> live tv stops. At this point, even xawtv only displays a black
> picture. If I 'rmmod bttv', and then try either xawtv or mythtv, then
> it works again.
>
> I'm going to try to do some more snooping, but I'm not exactly sure
> where to begin.
>
> Any thoughts?
>
> Reza
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
More information about the mythtv-dev
mailing list