Re: [vdr] TS Play Plugin - breaks streamdev and radio plugins

2010-04-14 Thread Udo Richter
Am 14.04.2010 09:24, schrieb Frank Schmirler: > I attached a patch for streamdev, making it automatically detect the tsplay > patch. Can you give it a try? > -#if VDRVERSNUM >= 10703 > +#if VDRVERSNUM >= 10703 || defined(MAXVIDEOFILESIZETS) Hey, good idea to use this #define for detection! I di

Re: [vdr] TS Play Plugin - breaks streamdev and radio plugins

2010-04-14 Thread Frank Schmirler
On Wed, 14 Apr 2010 07:37:37 +1200, Simon Baxter wrote > Sorry Frank - definitely patched. I just tried cleaning and > recompiling everything, don't seem to be getting the IsPesRecording > function error, but am still getting the cIndexFile mismatch: > > server/recplayer.c: In member function '

Re: [vdr] TS Play Plugin - breaks streamdev and radio plugins

2010-04-13 Thread Simon Baxter
Then please check VDR's recording.h. The missing IsPesRecording member function and the parameter type mismatch of cIndexFile::Get both indicate that recording.h is unpatched. In vdr-1.6.0-2-tsplay-0.1.diff you will find the modifications to recording.h starting at line 1376. Sorry Frank -

Re: [vdr] TS Play Plugin - breaks streamdev and radio plugins

2010-04-13 Thread Frank Schmirler
On Tue, 13 Apr 2010 21:58:16 +1200, Simon Baxter wrote > > The tsplay patch adds this member to VDR's cRecording class. So probably > > the > > header files are not up-to-date. Try a "make include-dir" in the VDR > > source > > directory, then recompile streamdev. > > Nope, same problem: > > ma

Re: [vdr] TS Play Plugin - breaks streamdev and radio plugins

2010-04-13 Thread Simon Baxter
The tsplay patch adds this member to VDR's cRecording class. So probably the header files are not up-to-date. Try a "make include-dir" in the VDR source directory, then recompile streamdev. Nope, same problem: make include-dir make plugins server/recplayer.c: In constructor 'cRecPlayer::cRec

Re: [vdr] TS Play Plugin - breaks streamdev and radio plugins

2010-04-13 Thread Frank Schmirler
On Tue, 13 Apr 2010 06:42:49 +1200, Simon Baxter wrote > yes, the streamdev compile now fails with with: > > server/recplayer.c: In constructor âcRecPlayer::cRecPlayer(const > cRecording*)â: > server/recplayer.c:38: error: âconst class cRecordingâ has no member > named âIsPesRecordingâ server/re

Re: [vdr] TS Play Plugin - breaks streamdev and radio plugins

2010-04-12 Thread Simon Baxter
Should be fine - is it still failing? yes, the streamdev compile now fails with with: server/recplayer.c: In constructor âcRecPlayer::cRecPlayer(const cRecording*)â: server/recplayer.c:38: error: âconst class cRecordingâ has no member named âIsPesRecordingâ server/recplayer.c: In member funct

Re: [vdr] TS Play Plugin - breaks streamdev and radio plugins

2010-04-12 Thread Frank Schmirler
On Mon, 12 Apr 2010 21:55:20 +1200, Simon Baxter wrote > Have I got this wrong? > > [r...@freddy server]# diff recplayer.c recplayer.c.orig > 37c37 > < #if 1 > --- > > #if VDRVERSNUM >= 10703 > 61c61 > < #if 0 > --- > > #if APIVERSNUM < 10703 > 102c102 > < #if 1 > --- > > #if APIVERSNUM >= 10703 >

Re: [vdr] TS Play Plugin - breaks streamdev and radio plugins

2010-04-12 Thread Simon Baxter
in streamdev's server/recplayer.c, replacing "#if {API,VDR}VERSNUM >= 10703" by "#if 1" and "#if APIVERSNUM < 10703" by "#if 0" should do the trick. Have I got this wrong? [r...@freddy server]# diff recplayer.c recplayer.c.orig 37c37 < #if 1 --- #if VDRVERSNUM >= 10703 61c61 < #if 0 --- #if

Re: [vdr] TS Play Plugin - breaks streamdev and radio plugins

2010-04-12 Thread Frank Schmirler
Hi, On Wed, 7 Apr 2010 18:52:20 +1200, Simon Baxter wrote > I'm trying to use Udo Richter's plugin to play .ts recordings in vdr- > 1.6.0 > (http://www.udo-richter.de/vdr/patches.en.html) but it breaks a > couple of plugins > > streamdev plugin: > > server/recplayer.c: In member function âuint

[vdr] TS Play Plugin - breaks streamdev and radio plugins

2010-04-06 Thread Simon Baxter
Hi I'm trying to use Udo Richter's plugin to play .ts recordings in vdr-1.6.0 (http://www.udo-richter.de/vdr/patches.en.html) but it breaks a couple of plugins streamdev plugin: server/recplayer.c: In member function âuint64_t cRecPlayer::positionFromFrameNumber(uint32_t)â: server/recplayer