how to stop timer?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there 

A full or not available disk causes  a endless lopp of 
TimerStart and EmergencyExit if a timer is active.

To avoid this, I added this code to cRecordControls::Start() : 

menu.c:3518
bool cRecordControls::Start(cTimer *Timer, bool Pause)
{
  ChangeState();
  if (!VideoFileSpaceAvailable(300))
  {
     Skins.Message(mtInfo, tr("No disk space!"));
     if (Timer)
       Timer->Delete();

       return false;
  }

Now the message pops up endlessly, because the timer is still 
aktive??? Any suggestions?

regards Markus 








[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux