summaryrefslogtreecommitdiffstats
path: root/stream/dvbin.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-13 18:00:51 +0200
committerwm4 <wm4@nowhere>2014-04-13 18:03:01 +0200
commit78128bddda4bcea1f256fc13cc33fa2652ed277c (patch)
tree35bf6596cb8e2d7927618845833c3ee36534f890 /stream/dvbin.h
parent44f382cf98564c0fe08bdc78579c284362cd6f3c (diff)
downloadmpv-78128bddda4bcea1f256fc13cc33fa2652ed277c.tar.bz2
mpv-78128bddda4bcea1f256fc13cc33fa2652ed277c.tar.xz
Kill all tabs
I hate tabs. This replaces all tabs in all source files with spaces. The only exception is old-makefile. The replacement was made by running the GNU coreutils "expand" command on every file. Since the replacement was automatic, it's possible that some formatting was destroyed (but perhaps only if it was assuming that the end of a tab does not correspond to aligning the end to multiples of 8 spaces).
Diffstat (limited to 'stream/dvbin.h')
-rw-r--r--stream/dvbin.h76
1 files changed, 38 insertions, 38 deletions
diff --git a/stream/dvbin.h b/stream/dvbin.h
index 38b1d15c6d..4caba45c7d 100644
--- a/stream/dvbin.h
+++ b/stream/dvbin.h
@@ -43,54 +43,54 @@
#endif
typedef struct {
- char *name;
- int freq, srate, diseqc, tone;
- char pol;
- int tpid, dpid1, dpid2, progid, ca, pids[DMX_FILTER_SIZE], pids_cnt;
- fe_spectral_inversion_t inv;
- fe_modulation_t mod;
- fe_transmit_mode_t trans;
- fe_bandwidth_t bw;
- fe_guard_interval_t gi;
- fe_code_rate_t cr, cr_lp;
- fe_hierarchy_t hier;
+ char *name;
+ int freq, srate, diseqc, tone;
+ char pol;
+ int tpid, dpid1, dpid2, progid, ca, pids[DMX_FILTER_SIZE], pids_cnt;
+ fe_spectral_inversion_t inv;
+ fe_modulation_t mod;
+ fe_transmit_mode_t trans;
+ fe_bandwidth_t bw;
+ fe_guard_interval_t gi;
+ fe_code_rate_t cr, cr_lp;
+ fe_hierarchy_t hier;
} dvb_channel_t;
typedef struct {
- uint16_t NUM_CHANNELS;
- uint16_t current;
- dvb_channel_t *channels;
+ uint16_t NUM_CHANNELS;
+ uint16_t current;
+ dvb_channel_t *channels;
} dvb_channels_list;
typedef struct {
- int type;
- dvb_channels_list *list;
- char *name;
- int devno;
+ int type;
+ dvb_channels_list *list;
+ char *name;
+ int devno;
} dvb_card_config_t;
typedef struct {
- int count;
- dvb_card_config_t *cards;
- void *priv;
+ int count;
+ dvb_card_config_t *cards;
+ void *priv;
} dvb_config_t;
typedef struct {
struct mp_log *log;
int fd;
- int card;
- int fe_fd;
- int sec_fd;
- int demux_fd[3], demux_fds[DMX_FILTER_SIZE], demux_fds_cnt;
- int dvr_fd;
-
- dvb_config_t *config;
- dvb_channels_list *list;
- int tuner_type;
- int is_on;
- int retry;
- int timeout;
- int last_freq;
+ int card;
+ int fe_fd;
+ int sec_fd;
+ int demux_fd[3], demux_fds[DMX_FILTER_SIZE], demux_fds_cnt;
+ int dvr_fd;
+
+ dvb_config_t *config;
+ dvb_channels_list *list;
+ int tuner_type;
+ int is_on;
+ int retry;
+ int timeout;
+ int last_freq;
char *cfg_prog;
int cfg_card;
@@ -98,10 +98,10 @@ typedef struct {
} dvb_priv_t;
-#define TUNER_SAT 1
-#define TUNER_TER 2
-#define TUNER_CBL 3
-#define TUNER_ATSC 4
+#define TUNER_SAT 1
+#define TUNER_TER 2
+#define TUNER_CBL 3
+#define TUNER_ATSC 4
int dvb_step_channel(stream_t *, int);
int dvb_set_channel(stream_t *, int, int);