Mailing List archive

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

[vdr] vdr-1.3.6 make recording not usable with vdrsync.pl



Hello,

due to the way UPT errors are taken in account in 1.3.6 I cannot use
-use-pipe from within vdrsync.pl :-(

A really simple change solve this issue: changing #define MAXNUMUPTERRORS  10
in remux.c to #define MAXNUMUPTERRORS  1

Or maybe 0 ?

(I didn't look too much at it as I use:

--- remux-exit_on_UPT.c	2004-03-19 23:37:58.212111272 +0100
+++ remux.c	2004-03-19 16:29:11.327794488 +0100
@@ -622,8 +622,9 @@
                      if (pt != NO_PICTURE) {
                         if (pt < I_FRAME || B_FRAME < pt) {
                            esyslog("ERROR: unknown picture type '%d'", pt);
-				   cThread::EmergencyExit(true);
-			   }
+                           if (++numUPTerrors > MAXNUMUPTERRORS && exitOnFailure)
+                              cThread::EmergencyExit(true);
+                           }
                         else if (!synced) {
                            if (pt == I_FRAME) {
                               resultDelivered = i; // will drop everything before this position
which is not so good...).

Would it be possible to have this definition of MAXNUMUPTERRORS in the
Make.config ?

Thank you and have a great weekend,

	Grégoire
__________________________________________________________________________
http://algebra.epfl.ch/greg ICQ:16624071 mailto:Gregoire.Favre@freesurf.ch


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



Home | Main Index | Thread Index