diff options
author | Johannes Stezenbach <devnull@localhost> | 2003-03-07 15:26:03 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2003-03-07 15:26:03 +0000 |
commit | 9651959e6fa95fe6ce08b2b996863edca00620bd (patch) | |
tree | 152c5ca6ad0d22622a17a07791acc30e1fbbc1b9 /linux/include | |
parent | 98fead3006b45b081b53fed2c0fa0c3fe155f507 (diff) | |
download | mediapointer-dvb-s2-9651959e6fa95fe6ce08b2b996863edca00620bd.tar.gz mediapointer-dvb-s2-9651959e6fa95fe6ce08b2b996863edca00620bd.tar.bz2 |
added ioctl DMX_GET_STC
Diffstat (limited to 'linux/include')
-rw-r--r-- | linux/include/linux/dvb/dmx.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/include/linux/dvb/dmx.h b/linux/include/linux/dvb/dmx.h index 3c704088d..089b21734 100644 --- a/linux/include/linux/dvb/dmx.h +++ b/linux/include/linux/dvb/dmx.h @@ -158,6 +158,12 @@ typedef enum { DMX_SOURCE_DVR3 } dmx_source_t; +struct dmx_stc { + unsigned int num; /* input : which STC? 0..N */ + unsigned int base; /* output: divisor for stc to get 90 kHz clock */ + uint64_t stc; /* output: stc in 'base'*90 kHz units */ +}; + #define DMX_START _IO('o',41) #define DMX_STOP _IO('o',42) @@ -168,6 +174,7 @@ typedef enum { #define DMX_GET_PES_PIDS _IOR('o',47,uint16_t[5]) #define DMX_GET_CAPS _IOR('o',48,dmx_caps_t) #define DMX_SET_SOURCE _IOW('o',49,dmx_source_t) +#define DMX_GET_STC _IOWR('o',50,struct dmx_stc) #endif /*_DVBDMX_H_*/ |