vdr 1.2.6 - cyclic restarting of vdr when recording

Stefan-W. Hahn pkg-vdr-dvb-devel@lists.alioth.debian.org
Thu, 21 Oct 2004 18:47:33 +0200


Hi,

after upgrading from c't VDR to debian main, I have the problem that after
starting a recording the vdr is doing cyclic restarts after some seconds of
recording. There are no messages in the log.


I run a full featured HAUPPAGE-Nexus S, and a second low budget HAUPPAUGE on a
Debian woody/sarge mix with a Kernel 2.4.22.

The DVB is a self compiled one as a module, version 1.0.1-4.

I do only upgrade the vdr packages. Before I have the following version running:

vdr 1.2.6-15 (c't versioning) with 20_elchiaio4c.

The debian main version of the vdr is a

vdr 1.2.6-5 with 
    01_vdr_1.2.6-3.1.diff.gz
    01_gcc3.4-FTBFS-fix
    02_Makefile-CFGDIR
    03_cmdsubmenu


After diff'ing the two source trees I got all the differences in scripts,
descriptions and the things for the elchi patch.
Left over two interresting things:

--- c't version
+++ debian version

diff -u -w -r ../../ctvdr/vdr-1.2.6/debian/vdr-dev/usr/include/vdr/recording.h ./debian/vdr-dev/usr/include/vdr/recording.h
--- ../../ctvdr/vdr-1.2.6/debian/vdr-dev/usr/include/vdr/recording.h	Thu Oct 21 18:01:51 2004
+++ ./debian/vdr-dev/usr/include/vdr/recording.h	Fri Oct 17 16:27:36 2003
@@ -116,7 +113,7 @@
 #define FRAMESPERSEC 25
 
 // The maximum size of a single frame:
-#define MAXFRAMESIZE  KILOBYTE(512)
+#define MAXFRAMESIZE  KILOBYTE(192)


diff -u -w -r ../../ctvdr/vdr-1.2.6/remux.c ./remux.c
--- ../../ctvdr/vdr-1.2.6/remux.c	Thu Oct 21 18:01:35 2004
+++ ./remux.c	Sun Sep 14 12:34:39 2003
@@ -106,7 +106,7 @@
 #define ADAPT_FIELD    0x20
 
 #define MAX_PLENGTH  0xFFFF          // the maximum PES packet length (theoretically)
-#define MMAX_PLENGTH (64*MAX_PLENGTH) // some stations send PES packets that are extremely large, e.g. DVB-T in Finland
+#define MMAX_PLENGTH (8*MAX_PLENGTH) // some stations send PES packets that are extremely large, e.g. DVB-T in Finland
 

I tried them one after one by one. After setting MMAX_PLENGTH to 64*MAX_PLENGTH
the game is running like before with the c't version.


Stefan

-- 
Stefan-W. Hahn                          It is easy to make things.
/ mailto:stefan.hahn@s-hahn.de /        It is hard to make things simple.