Ticket #1516: osd_fadeout.diff

File osd_fadeout.diff, 672 bytes (added by stuart@…, 18 years ago)

Patch to fix #1516

  • libs/libmythtv/osd.cpp

     
    23732373
    23742374            container->Draw(drawSurface, actuallydraw);
    23752375            anytodisplay = true;
    2376             if (container->GetTimeLeft() == 0 && totalfadetime > 0)
     2376            if (container->GetTimeLeft() == 0 && totalfadetime >= 0)
    23772377            {
    2378                 container->FadeFor(totalfadetime);
     2378                if (totalfadetime > 0) {
     2379                    container->FadeFor(totalfadetime);
     2380                }
    23792381                changed = true;
    23802382            }
    23812383