[vdr] timeshift

Goga777 goga777 at bk.ru
Sat Mar 27 19:43:02 CET 2010


Hi

with that patch the timeshift works more reliable on slow systems, where 2 seconds are not enough to fill
up the file enough to start replaying


*** menu.c.orig	2010-02-15 13:15:53.000000000 +0300
--- menu.c	2010-02-15 12:36:58.000000000 +0300
***************
*** 5476,5482 ****
    Skins.Message(mtStatus, tr("Pausing live video..."));
    cReplayControl::SetRecording(NULL, NULL); // make sure the new cRecordControl will set cReplayControl::LastReplayed()
    if (Start(NULL, true)) {
!      sleep(2); // allow recorded file to fill up enough to start replaying
       cReplayControl *rc = new cReplayControl;
       cControl::Launch(rc);
       cControl::Attach();
--- 5476,5482 ----
    Skins.Message(mtStatus, tr("Pausing live video..."));
    cReplayControl::SetRecording(NULL, NULL); // make sure the new cRecordControl will set cReplayControl::LastReplayed()
    if (Start(NULL, true)) {
!      sleep(5); // allow recorded file to fill up enough to start replaying
       cReplayControl *rc = new cReplayControl;
       cControl::Launch(rc);
       cControl::Attach();

thanks to Raider05



More information about the vdr mailing list