diff options
author | Zaheer Abbas Merali <zaheerabbas@merali.org> | 2006-11-17 18:51:58 +0000 |
---|---|---|
committer | Zaheer Abbas Merali <zaheerabbas@merali.org> | 2006-11-17 18:51:58 +0000 |
commit | 7618b1e7615e3180727a400fc002db50fa2e8696 (patch) | |
tree | 8695031a421a4018fa3717439f8d50539a4aecb8 /sys/dvb | |
parent | a99c79744b46d6f66716ed68cc6be97ced4058c9 (diff) | |
download | gst-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.
Diffstat (limited to 'sys/dvb')
-rw-r--r-- | sys/dvb/gstdvbsrc.c | 6 |
1 files changed, 1 insertions, 5 deletions
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", |