summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZaheer Abbas Merali <zaheerabbas@merali.org>2006-11-17 18:51:58 +0000
committerZaheer Abbas Merali <zaheerabbas@merali.org>2006-11-17 18:51:58 +0000
commit7618b1e7615e3180727a400fc002db50fa2e8696 (patch)
tree8695031a421a4018fa3717439f8d50539a4aecb8
parenta99c79744b46d6f66716ed68cc6be97ced4058c9 (diff)
downloadgst-plugins-bad-7618b1e7615e3180727a400fc002db50fa2e8696.tar.gz
gst-plugins-bad-7618b1e7615e3180727a400fc002db50fa2e8696.tar.bz2
gst-plugins-bad-7618b1e7615e3180727a400fc002db50fa2e8696.zip
sys/dvb/gstdvbsrc.c: Actually set the TONE parameter for DVB-S when we should.
Original commit message from CVS: 2006-11-17 Zaheer Abbas Merali <zaheerabbas at merali dot org> * sys/dvb/gstdvbsrc.c: (gst_dvbsrc_tune): Actually set the TONE parameter for DVB-S when we should.
-rw-r--r--ChangeLog5
-rw-r--r--sys/dvb/gstdvbsrc.c6
2 files changed, 6 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 1cf1a438..c2a12ed5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-17 Zaheer Abbas Merali <zaheerabbas at merali dot org>
+
+ * sys/dvb/gstdvbsrc.c: (gst_dvbsrc_tune):
+ Actually set the TONE parameter for DVB-S when we should.
+
2006-11-16 David Schleef <ds@schleef.org>
* gst/librfb/rfbdecoder.c: Fixes for 64-bit architectures.
diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c
index 6012d823..7a65c40c 100644
--- a/sys/dvb/gstdvbsrc.c
+++ b/sys/dvb/gstdvbsrc.c
@@ -1076,17 +1076,13 @@ gst_dvbsrc_tune (GstDvbSrc * object)
// this must be an absolute frequency
if (freq < SLOF) {
feparams.frequency = (freq - LOF1);
- if (object->tone < 0)
- object->tone = SEC_TONE_OFF;
} else {
feparams.frequency = (freq - LOF2);
- if (object->tone < 0)
- object->tone = SEC_TONE_ON;
+ object->tone = SEC_TONE_ON;
}
} else {
// this is an L-Band frequency
feparams.frequency = freq;
- object->tone = SEC_TONE_OFF;
}
GST_INFO_OBJECT (object,
"tuning DVB-S to L-Band:%u, Pol:%d, srate=%u, 22kHz=%s",