Mailing List archive

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

[vdr] [PATCH] vdr-1.3.18 softdevice plugin



Hi,

attached diff is a hot-fix for running softdevice with vdr-1.3.18.
Diff is for softdevice-0.0.8 (cvs version) and not yet in cvs.

-- 
Stefan Lucke
? .dependencies
Index: mpeg2decoder.c
===================================================================
RCS file: /cvsroot/softdevice/softdevice/mpeg2decoder.c,v
retrieving revision 1.11
diff -r1.11 mpeg2decoder.c
1086c1086
< void cMpeg2Decoder::PlayAudio(const uchar *Data, int Length)
---
> int cMpeg2Decoder::PlayAudio(const uchar *Data, int Length)
1154a1155,1158
> #if VDRVERSNUM >= 10318
>   aout->Write((uchar *)Data,Length);
> #endif
>   return Length;
1207a1212
> #if VDRVERSNUM < 10318
1210a1216
> #endif
1216a1223
> #if VDRVERSNUM < 10318
1218a1226
> #endif
Index: mpeg2decoder.h
===================================================================
RCS file: /cvsroot/softdevice/softdevice/mpeg2decoder.h,v
retrieving revision 1.9
diff -r1.9 mpeg2decoder.h
183c183
<     void PlayAudio(const uchar *Data, int Length);
---
>     int PlayAudio(const uchar *Data, int Length);
Index: softdevice.c
===================================================================
RCS file: /cvsroot/softdevice/softdevice/softdevice.c,v
retrieving revision 1.10
diff -r1.10 softdevice.c
277a278
> #if VDRVERSNUM < 10318
278a280,282
> #else
>   virtual int  PlayAudio(const uchar *Data, int Length);
> #endif
474a479
> #if VDRVERSNUM < 10318
480a486,493
> #else
> /* ----------------------------------------------------------------------------
>  */
> int cSoftDevice::PlayAudio(const uchar *Data, int Length)
> {
>   return decoder->PlayAudio(Data, Length);
> }
> #endif

Home | Main Index | Thread Index