Mailing List archive

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

[vdr] Bug in 1.1.13: recording encrypted channels on primary



Hi,
I found that VDR is unable to record encrypted channels on the
primary interface (e.g. on a single card system). This is because
VDR tries to start a (on card) transfermode. This obviously doesn't work
with encrypted channels which only can be recorded in "live" mode.

I think

diff -uN vdr-1.1.13-orig/dvbdevice.c vdr-1.1.13/dvbdevice.c
--- vdr-1.1.13-orig/dvbdevice.c	Sat Oct 12 13:15:45 2002
+++ vdr-1.1.13/dvbdevice.c	Mon Oct 21 18:55:00 2002
@@ -446,7 +446,7 @@
                                   )
                             );
 
-  bool StartTransferMode = IsPrimaryDevice() && !DoTune
+  bool StartTransferMode = IsPrimaryDevice() && !(Channel->Ca()>CACONFBASE) && !DoTune
                            && (LiveView && HasPid(Channel->Vpid()) && pidHandles[ptVideo].pid != Channel->Vpid() // the PID is already set as DMX_PES_OTHER
                               || !LiveView && pidHandles[ptVideo].pid == Channel->Vpid() // a recording is going to shift the PIDs from DMX_PES_AUDIO/VIDEO to DMX_PES_OTHER
                               );

fixes this.

Bye.

-- 
Stefan Huelswitt
huels@iname.com  | http://home.pages.de/~nathan


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



Home | Main Index | Thread Index