From 7618b1e7615e3180727a400fc002db50fa2e8696 Mon Sep 17 00:00:00 2001 From: Zaheer Abbas Merali Date: Fri, 17 Nov 2006 18:51:58 +0000 Subject: 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 * sys/dvb/gstdvbsrc.c: (gst_dvbsrc_tune): Actually set the TONE parameter for DVB-S when we should. --- ChangeLog | 5 +++++ sys/dvb/gstdvbsrc.c | 6 +----- 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 + + * sys/dvb/gstdvbsrc.c: (gst_dvbsrc_tune): + Actually set the TONE parameter for DVB-S when we should. + 2006-11-16 David Schleef * 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", -- cgit v1.2.1