[vdr] no live tv pause patch

martinez at embl.de martinez at embl.de
Tue May 5 16:36:29 CEST 2009


Thanks a lot Magnus,

That does the job

Here is the patch file in case somebody else finds it usefull:

*** vdr.c.ori	2009-05-05 16:16:03.000000000 +0200
--- vdr.c	2009-05-05 16:17:15.000000000 +0200
***************
*** 1310,1323 ****
                 key = kNone;
                 break;
            // Pausing live video:
!           case kPause:
!                if (!cControl::Control()) {
!                   DELETE_MENU;
!                   if (!cRecordControls::PauseLiveVideo())
!                      Skins.Message(mtError, tr("No free DVB device to
record!"));
!                   key = kNone; // nobody else needs to see this key
!                   }
!                break;
            // Instant recording:
            case kRecord:
                 if (!cControl::Control()) {
--- 1310,1324 ----
                 key = kNone;
                 break;
            // Pausing live video:
! // Disabled by Arturo as I want no live video pause
! //         case kPause:
! //               if (!cControl::Control()) {
! //                  DELETE_MENU;
! //                  if (!cRecordControls::PauseLiveVideo())
! //                     Skins.Message(mtError, tr("No free DVB device to
record!"));
!  //                 key = kNone; // nobody else needs to see this key
! //                  }
! //               break;
            // Instant recording:
            case kRecord:
                 if (!cControl::Control()) {



More information about the vdr mailing list