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

Frank Schmirler vdr at schmirler.de
Wed Apr 14 09:24:47 CEST 2010

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 'uint64_t 
> cRecPlayer::positionFromFrameNumber(uint32_t)':
> server/recplayer.c:253: error: no matching function for call to 
> 'cIndexFile::Get(int, uchar*, int*)'
> ../../../include/vdr/recording.h:229: note: candidates are: bool 
> cIndexFile::Get(int, uint16_t*, off_t*, uchar*, int*)
> ../../../include/vdr/recording.h:231: note:                 int 
> cIndexFile::Get(uint16_t, off_t)
> make: *** [server/recplayer.o] Error 1
> I don't get it - it's calling a Get(int, uchar*, int*), which are 
> defined Get(int, uint16_t*, off_t*, uchar*, int*)  ??

Great - almost there. Before your cleanup, the compiler complained about

no matching function for call to 'cIndexFile::Get(int, uint16_t*, off_t*)'

now it's

no matching function for call to 'cIndexFile::Get(int, uchar*, int*)'

So this time the "#if VDRVERSNUM >= 10703" in streamdev's server/recplayer.c
wasn't changed or not changed correctly. It should read "#if 1".

I attached a patch for streamdev, making it automatically detect the tsplay
patch. Can you give it a try? Apparently you are using a patched streamdev.
According to one of your previous mails there's one '#if' more. Please modify
this additional '#if' as in the patch.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: tsplay.diff
Type: text/x-diff
Size: 1380 bytes
Desc: not available
URL: <http://www.linuxtv.org/pipermail/vdr/attachments/20100414/9a9bb726/attachment.diff>

More information about the vdr mailing list