summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-06 18:54:22 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-06 18:54:22 +0000
commitfbda90a926b5486ebd1977069fbf963c198f1fec (patch)
tree042389ea56a9f29404c2bcd7d5c6dea8b2c753f8 /stream
parent7512e188a4cc0c0926e63167c822f4ac5695ca6c (diff)
downloadmpv-fbda90a926b5486ebd1977069fbf963c198f1fec.tar.bz2
mpv-fbda90a926b5486ebd1977069fbf963c198f1fec.tar.xz
reindented
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21843 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/dvb_tune.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/stream/dvb_tune.c b/stream/dvb_tune.c
index 0d967489f3..63c9f20beb 100644
--- a/stream/dvb_tune.c
+++ b/stream/dvb_tune.c
@@ -588,14 +588,14 @@ static int tune_it(int fd_frontend, int fd_sec, unsigned int freq, unsigned int
mp_msg(MSGT_DEMUX, MSGL_V, "TUNE_IT, fd_frontend %d, fd_sec %d\nfreq %lu, srate %lu, pol %c, tone %i, specInv, diseqc %u, fe_modulation_t modulation,fe_code_rate_t HP_CodeRate, fe_transmit_mode_t TransmissionMode,fe_guard_interval_t guardInterval, fe_bandwidth_t bandwidth\n",
- fd_frontend, fd_sec, (long unsigned int)freq, (long unsigned int)srate, pol, tone, diseqc);
+ fd_frontend, fd_sec, (long unsigned int)freq, (long unsigned int)srate, pol, tone, diseqc);
memset(&feparams, 0, sizeof(feparams));
if ( (res = ioctl(fd_frontend,FE_GET_INFO, &fe_info) < 0))
{
- mp_msg(MSGT_DEMUX, MSGL_FATAL, "FE_GET_INFO FAILED\n");
- return -1;
+ mp_msg(MSGT_DEMUX, MSGL_FATAL, "FE_GET_INFO FAILED\n");
+ return -1;
}
@@ -636,22 +636,22 @@ static int tune_it(int fd_frontend, int fd_sec, unsigned int freq, unsigned int
{
// this must be an absolute frequency
if (freq < SLOF)
- {
+ {
#ifdef HAVE_DVB_HEAD
freq = feparams.frequency=(freq-LOF1);
#else
freq = feparams.Frequency=(freq-LOF1);
#endif
- hi_lo = 0;
+ hi_lo = 0;
}
- else
- {
+ else
+ {
#ifdef HAVE_DVB_HEAD
freq = feparams.frequency=(freq-LOF2);
#else
freq = feparams.Frequency=(freq-LOF2);
#endif
- hi_lo = 1;
+ hi_lo = 1;
}
}
else
@@ -676,15 +676,15 @@ static int tune_it(int fd_frontend, int fd_sec, unsigned int freq, unsigned int
dfd = fd_sec;
#endif
- mp_msg(MSGT_DEMUX, MSGL_V, "tuning DVB-S to Freq: %u, Pol: %c Srate: %d, 22kHz: %s, LNB: %d\n",freq,pol,srate,hi_lo ? "on" : "off", diseqc);
+ mp_msg(MSGT_DEMUX, MSGL_V, "tuning DVB-S to Freq: %u, Pol: %c Srate: %d, 22kHz: %s, LNB: %d\n",freq,pol,srate,hi_lo ? "on" : "off", diseqc);
- if(do_diseqc(dfd, diseqc, (pol == 'V' ? 1 : 0), hi_lo) == 0)
- mp_msg(MSGT_DEMUX, MSGL_V, "DISEQC SETTING SUCCEDED\n");
- else
- {
- mp_msg(MSGT_DEMUX, MSGL_ERR, "DISEQC SETTING FAILED\n");
- return -1;
- }
+ if(do_diseqc(dfd, diseqc, (pol == 'V' ? 1 : 0), hi_lo) == 0)
+ mp_msg(MSGT_DEMUX, MSGL_V, "DISEQC SETTING SUCCEDED\n");
+ else
+ {
+ mp_msg(MSGT_DEMUX, MSGL_ERR, "DISEQC SETTING FAILED\n");
+ return -1;
+ }
break;
case FE_QAM:
mp_msg(MSGT_DEMUX, MSGL_V, "tuning DVB-C to %d, srate=%d\n",freq,srate);