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.
This commit is contained in:
Zaheer Abbas Merali 2006-11-17 18:51:58 +00:00
parent a99c79744b
commit 7618b1e761
2 changed files with 6 additions and 5 deletions

View file

@ -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.

View file

@ -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",