diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-01-14 13:41:46 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-01-14 13:41:46 +0000 |
| commit | 742956672b795d0ffa44575f9a8e0255b768915c (patch) | |
| tree | c947112c0d50bdc21dba54d94890ad53aab15880 /lib | |
| parent | 60ee8597f658a0061d9326bd8d5dde2e2f73a670 (diff) | |
| download | enigma2-742956672b795d0ffa44575f9a8e0255b768915c.tar.gz enigma2-742956672b795d0ffa44575f9a8e0255b768915c.zip | |
fix for old api
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/dvb/demux.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
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 <ost/dmx.h> + #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 <linux/dvb/dmx.h> #endif |
