Sky-Plugin doesn't compile with vdr-1.3.32

Message ID 43249E28.2090407@syphir.sytes.net
State New
Headers

Commit Message

C.Y.M Sept. 11, 2005, 9:14 p.m. UTC
  Udo Richter wrote:
> 
> Some more plugins broke because of simillar #include problems:
> 
> Streamdev-CVS:
>   client/filter.c
>   remux/ts2ps.c
>   remux/ts2es.c
> 

I did not have problems with ts2ps.c and ts2es.c. You might want to check those
two files again.  Attached are patches for all the plugins I had to fix.. Im
sure there are more.

Best Regards,
C.
  

Comments

Udo Richter Sept. 11, 2005, 10:34 p.m. UTC | #1
C.Y.M wrote:
>> Streamdev-CVS:
>>   client/filter.c
>>   remux/ts2ps.c
>>   remux/ts2es.c
>>
> 
> I did not have problems with ts2ps.c and ts2es.c. You might want to check those
> two files again.  Attached are patches for all the plugins I had to fix.. Im
> sure there are more.

remux/ts2es.c: In member function `int cTS2ESRemux::Put(const uchar*, int)':
remux/ts2es.c:97: error: `TS_SYNC_BYTE' undeclared (first use this function)
remux/ts2ps.c: In member function `int cTS2PSRemux::Put(const uchar*, int)':
remux/ts2ps.c:111: error: `TS_SYNC_BYTE' undeclared (first use this 
function)

TS_SYNC_BYTE is declared in device.h. Maybe some patch or driver also 
declares it for you.

Cheers,

Udo
  

Patch

diff -ru vdr-1.3.32-orig/PLUGINS/src/yaepg/yaepg.c vdr-1.3.32/PLUGINS/src/yaepg/yaepg.c
--- vdr-1.3.32-orig/PLUGINS/src/yaepg/yaepg.c	2005-05-29 11:00:02.000000000 -0700
+++ vdr-1.3.32/PLUGINS/src/yaepg/yaepg.c	2005-09-11 13:58:14.000000000 -0700
@@ -7,6 +7,7 @@ 
  */
 
 #include "yaepg.h"
+#include <vdr/device.h>
 
 #define EPGWinHandle		areas[0]
 #define InfoWinHandle		areas[1]