Mailing List archive

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

[vdr] Timed recordings broken if replaying when timer starts



  Hi,

  This affects only those of us having to uncomment
DO_REC_AND_PLAY_ON_PRIMARY_DEVICE in dvbdevice.c.  If a timer starts and
we are replaying something, the replay stops but it seems not to happen in
a clean way, and the recording will be lost.  I am not sure if this patch
is the correct one, but it just seems to work with me.

--- old/vdr-1.1.22/menu.c	Sun Jan 19 16:59:46 2003
+++ vdr-1.1.22/menu.c	Fri Jan 31 11:33:36 2003
@@ -2996,6 +2996,9 @@
      if (device) {
         if (NeedsDetachReceivers)
            Stop(device);
+	// #ifndef DO_REC_AND_PLAY_ON_PRIMARY_DEVICE
+	device->StopReplay();
+	// #endif // DO_REC_AND_PLAY_ON_PRIMARY_DEVICE
         if (!device->SwitchChannel(channel, false)) {
            cThread::EmergencyExit(true);
            return false;

-- 
Foreca Ltd                                           Jaakko.Hyvatti@foreca.com
Pursimiehenkatu 29-31 B, FIN-00150 Helsinki, Finland     http://www.foreca.com


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index