Reynaldo H. Verdejo Pinochet
3e519937a1
dvb: move adapter number set-up by way of environment to dvbsrc
...
This logic did not belong to the channel configuration
parser (only used by dvbbasebin) but to dvbsrc, which
is the element directly using this value and honoring
the "adapter" property.
Allows previously non-working cases like this to work:
GST_DVB_ADAPTER=1 gst-launch-1.0 dvbsrc delsys=11 modulation=7 frequency=689000000 ! fakesink
2016-12-22 16:39:24 -08:00
Reynaldo H. Verdejo Pinochet
61b7b1856e
dvb: parsechannels: replace missleadign error message
...
Possible failure cases also include not finding the
requested channel.
2016-12-22 13:42:59 -08:00
Reynaldo H. Verdejo Pinochet
a8d3f4d785
dvb/parsechannels: drop trailing whitespace
2016-12-08 11:30:42 -08:00
Reynaldo H. Verdejo Pinochet
86e75e5c90
dvb/parsechannels: collapse notes on channel_name encoding conflict
2016-10-23 22:13:33 -07:00
Reynaldo H. Verdejo Pinochet
6e0eb266bd
dvb/parsechannels: rename ZAP parser for clarity
...
This function only does ZAP parsing. Additionally, remove redundant
comment while at it.
2016-10-23 22:00:30 -07:00
Reynaldo H. Verdejo Pinochet
3551d61af5
dvb: fix gtk-doc syntax for wrongly formatted comments
2016-10-23 21:46:27 -07:00
Reynaldo H. Verdejo Pinochet
7dd42aee5b
dvb/parsechannels: parse guard interval as a fraction
...
Fixes wrong default failover when parsing libdvbv5 formatted
channel configuration files.
2016-10-09 08:06:45 -07:00
Reynaldo H. Verdejo Pinochet
5d1b62ccda
dvb/parsechannels: add prototypes and reorganize for clarity
2016-10-09 08:06:45 -07:00
Reynaldo H. Verdejo Pinochet
572c9154db
dvb/parsechannels: parse DVB-T hierarchy from v5 config file
...
Avoids relying on the H/W default when the information
can be extracted from the configuration file.
2016-10-09 08:06:00 -07:00
Reynaldo H. Verdejo Pinochet
fd96f42ac4
dvb/parsechannels: parse DVB-T lp and hp code rates
2016-10-09 04:33:03 -07:00
Reynaldo H. Verdejo Pinochet
5771e6a066
dvb/parsechannels: make parsing errors delsys-neutral
...
DVB is a group of delivery standards but we support
several others. While at this, make message formating
more congruent.
2016-09-30 15:03:22 -07:00
Reynaldo H. Verdejo Pinochet
d31a6f8756
dvb/parsechannels: warn on ignored key/value pairs
...
Otherwise at runtine, users get the misleading
parsing-OK message with no info on, for example,
properties that failed to map because of a typo.
2016-08-18 11:27:57 -07:00
Reynaldo H. Verdejo Pinochet
c40e49c9b1
dvb/parsechannels: handle problems parsing dvbv5 config keys
2016-08-18 11:17:14 -07:00
Reynaldo H. Verdejo Pinochet
e666b3f759
dvb/parsechannels: improve parsing-success message
...
* Fix typo
* Give information on what was actually parsed
2016-07-01 14:57:40 -07:00
Reynaldo H. Verdejo Pinochet
5f869d8fbd
dvb/parsechannels: don't use default conf filename for messages
...
The file name can be user-defined.
2016-07-01 14:56:13 -07:00
Reynaldo H. Verdejo Pinochet
219d4c132c
dvb/parsechannels: implement channels.conf format autodetection
...
Simple autodetection avoids having to call the parsers
one after the other.
2016-06-24 18:23:17 -07:00
Reynaldo H. Verdejo Pinochet
d9e0e43ca7
dvb/parsechannels: rename v5/zap parsers for congruency
...
Add function prototypes while at it.
2016-06-24 18:20:56 -07:00
Reynaldo H. Verdejo Pinochet
cf86ec5874
dvb/parsechannels: fix modulation names
...
Some names were incorrect. Authoritative source for
the dvbv5 format taken from v4l-utils' lib/libdvbv5/dvb-v5.c
Aditionally, add the missing setter mapping for the
modulation param.
This change makes ATSC work.
https://bugzilla.gnome.org/show_bug.cgi?id=764957
2016-06-24 18:20:56 -07:00
Thiago Santos
dc93c448ca
dvbbasebin: also accept DVBv5 channels.conf format
...
Confirmed working with ISDB-T & ATSC conf files.
https://bugzilla.gnome.org/show_bug.cgi?id=764957
2016-06-24 18:20:56 -07:00
Reynaldo H. Verdejo Pinochet
8e9e3f58c9
dvb/parsechannels: recognize additional bandwidths at zap parsing
...
Previously ignored 1.712, 5 and 10 MHz values are also valid
2016-05-17 13:08:19 -07:00
Reynaldo H. Verdejo Pinochet
b84b682275
dvb/parsechannels: use proper fe_spectral_inversion enum identifiers
2016-05-15 17:12:28 -07:00
Reynaldo H. Verdejo Pinochet
e32a058fcf
dvb/parsechannels: do not assume DVB-T from zap file alone
...
DVB-T/T2 have the same number of fields so we were
wrongly assuming DVB-T for DVB-T2 broadcasts. Not
setting the delivery system here allows for dvbsrc
to make an informed guess based on the channel
parameters.
2016-05-15 17:12:28 -07:00
Reynaldo H. Verdejo Pinochet
0826e78266
dvb/parsechannels: add information to file not found error
...
Adds useful failure info (like filename) comming from
g_file_get_contents() as done for every other error in
this block.
2016-04-12 15:06:26 -07:00
Reynaldo H. Verdejo Pinochet
86ec812429
Remove unnecessary NULL checks before g_free()
...
g_free() is NULL-safe
2015-11-18 16:05:42 -08:00
Reynaldo H. Verdejo Pinochet
0ac769194f
dvb: simplify ZAP file format parser
...
Simplify state handing, drop unneeded local vars, etc.
2015-10-09 17:53:52 -07:00
Reynaldo H. Verdejo Pinochet
17181bfe16
dvbbasebin: fix parsing of freqs in some ZAP files
...
Change avoids attempting to convert to kHz if unneeded.
There are quite some ZAP format variants out there. Among
their subtle little differences, some store transponder
frequencies in Mhz and others in kHz. The latter been the
most common variant.
2014-08-13 13:10:04 -04:00
Stefan Ringel
f348944246
dvb: parsechannels: add delsys property
...
Signed-off-by: Stefan Ringel <linuxtv@stefanringel.de>
https://bugzilla.gnome.org/show_bug.cgi?id=709414
2014-05-26 13:32:21 +02:00
Tim-Philipp Müller
bd504e379b
dvbbasebin: better error reporting
...
https://bugzilla.gnome.org/show_bug.cgi?id=678892
2013-04-21 18:28:52 +01:00
Tim-Philipp Müller
fc2b55919d
dvbbasebin: log channel parsing into dvbbasebin debug category as well
2013-04-21 14:13:45 +01:00
Tim-Philipp Müller
3bacb6312c
dvbbasebin: fix path where to look for the dvb-channels.conf
...
Construct path based on the API version, not $major.$minor version.
2013-04-21 14:04:11 +01:00
Tim-Philipp Müller
86ae538ca2
sys: print format fixes in debug messages
2013-04-08 17:34:41 +01:00
Tim-Philipp Müller
9e1b75fda3
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Edward Hervey
d7ad4ce890
dvb: Detect more issues with configuration file
...
Report useful errors when:
* file is present but empty
* requested channel is not present
2012-06-19 10:54:58 +01:00
Edward Hervey
068598e237
dvbbasebin: Emit an error when we fail reading the channels file
...
Conflicts:
sys/dvb/dvbbasebin.c
2012-06-19 10:54:51 +01:00
Edward Hervey
cca28a50a5
dvb: Add warning when dvb channels file isn't present
2012-05-23 09:40:04 +02:00
Sebastian Dröge
6acbe18943
dvb: Use the user config dir instead of the cache dir for the channels configuration
2011-05-03 09:55:48 +02:00
Philippe Normand
27c761f43b
dvb: moved dvb-channels.conf to $XDG_CACHE_HOME
2011-05-03 09:54:53 +02:00
Benjamin Otte
33c2f5fb01
Add -Wwrite-strings
...
and fix its warnings
2010-03-22 13:16:33 +01:00
Benjamin Otte
f96e4f1581
Add -Wmissing-declarations -Wmissing-prototypes to configure flags
...
And fix all warnings
2010-03-21 21:39:18 +01:00
Michael Krufky
e2c08fe736
sys/dvb/: Add ATSC tunning and channels.conf parsing support.
...
Original commit message from CVS:
patch by: Michael Krufky
* sys/dvb/gstdvbsrc.c:
* sys/dvb/parsechannels.c:
Add ATSC tunning and channels.conf parsing support.
Fixes #537455
2008-08-18 11:13:07 +00:00
Zaheer Abbas Merali
8be7f45f67
sys/dvb/: Add DVB-C support. Special thanks to Christian Schaller for a testing ground.
...
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
* sys/dvb/parsechannels.c:
Add DVB-C support. Special thanks to Christian Schaller
for a testing ground.
2008-03-01 12:49:13 +00:00
Zaheer Abbas Merali
1316ad4d71
sys/dvb/: Add URI Handler for dvb.
...
Original commit message from CVS:
* sys/dvb/Makefile.am:
* sys/dvb/dvbbasebin.c:
Add URI Handler for dvb.
Re-order pad templates to workaround a bug in playbasebin.
* sys/dvb/parsechannels.c:
* sys/dvb/parsechannels.h:
Add code to parse channels from zap-style channels.conf files.
2008-02-08 18:22:08 +00:00