From 742956672b795d0ffa44575f9a8e0255b768915c Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Sat, 14 Jan 2006 13:41:46 +0000 Subject: [PATCH] fix for old api --- lib/dvb/demux.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/dvb/demux.cpp b/lib/dvb/demux.cpp index 78c55bfe..5d4a6c28 100644 --- a/lib/dvb/demux.cpp +++ b/lib/dvb/demux.cpp @@ -8,9 +8,21 @@ #if HAVE_DVB_API_VERSION < 3 #include + #ifndef DMX_SET_NEGFILTER_MASK #define DMX_SET_NEGFILTER_MASK _IOW('o',48,uint8_t *) #endif + +#ifndef DMX_GET_STC + struct dmx_stc + { + unsigned int num; /* input : which STC? O..N */ + unsigned int base; /* output: divisor for stc to get 90 kHz clock */ + unsigned long long stc; /* output: src in 'base'*90 kHz units */ + }; + #define DMX_GET_STC _IOR('o', 50, struct dmx_stc) +#endif + #else #include #endif -- 2.30.2