dvbsrc: drop C++ style comments
This patch builds on previous work done by Fabrizio (Misto) Milo <mistobaan@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=641204
This commit is contained in:
parent
d2138beb18
commit
a39c3bd01b
@ -1308,7 +1308,6 @@ gst_dvbsrc_create (GstPushSrc * element, GstBuffer ** buf)
|
|||||||
object = GST_DVBSRC (element);
|
object = GST_DVBSRC (element);
|
||||||
GST_LOG ("fd_dvr: %d", object->fd_dvr);
|
GST_LOG ("fd_dvr: %d", object->fd_dvr);
|
||||||
|
|
||||||
//g_object_get(G_OBJECT(object), "blocksize", &buffer_size, NULL);
|
|
||||||
buffer_size = DEFAULT_BUFFER_SIZE;
|
buffer_size = DEFAULT_BUFFER_SIZE;
|
||||||
|
|
||||||
/* device can not be tuned during read */
|
/* device can not be tuned during read */
|
||||||
@ -1652,7 +1651,7 @@ gst_dvbsrc_tune (GstDvbSrc * object)
|
|||||||
case SYS_TURBO:
|
case SYS_TURBO:
|
||||||
object->tone = SEC_TONE_OFF;
|
object->tone = SEC_TONE_OFF;
|
||||||
if (freq > 2200000) {
|
if (freq > 2200000) {
|
||||||
// this must be an absolute frequency
|
/* this must be an absolute frequency */
|
||||||
if (freq < SLOF) {
|
if (freq < SLOF) {
|
||||||
freq -= LOF1;
|
freq -= LOF1;
|
||||||
} else {
|
} else {
|
||||||
@ -1678,15 +1677,15 @@ gst_dvbsrc_tune (GstDvbSrc * object)
|
|||||||
if (object->diseqc_src == -1 || object->send_diseqc == FALSE) {
|
if (object->diseqc_src == -1 || object->send_diseqc == FALSE) {
|
||||||
set_prop (dvb_prop, &n, DTV_VOLTAGE, voltage);
|
set_prop (dvb_prop, &n, DTV_VOLTAGE, voltage);
|
||||||
|
|
||||||
// DTV_TONE not yet implemented
|
/* DTV_TONE not yet implemented
|
||||||
// set_prop (fe_props_array, &n, DTV_TONE, object->tone)
|
* set_prop (fe_props_array, &n, DTV_TONE, object->tone) */
|
||||||
} else {
|
} else {
|
||||||
GST_DEBUG_OBJECT (object, "Sending DISEqC");
|
GST_DEBUG_OBJECT (object, "Sending DISEqC");
|
||||||
diseqc (object->fd_frontend, object->diseqc_src, voltage,
|
diseqc (object->fd_frontend, object->diseqc_src, voltage,
|
||||||
object->tone);
|
object->tone);
|
||||||
/* Once diseqc source is set, do not set it again until
|
/* Once diseqc source is set, do not set it again until
|
||||||
* app decides to change it */
|
* app decides to change it
|
||||||
//object->send_diseqc = FALSE;
|
* object->send_diseqc = FALSE; */
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((object->delsys == SYS_DVBS2) || (object->delsys == SYS_TURBO))
|
if ((object->delsys == SYS_DVBS2) || (object->delsys == SYS_TURBO))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user