Vincent Penquerc'h
b67f64cf5d
dvbsrc: map SYS_DVBC_ANNEX_A SYS_DVBC_ANNEX_AC for DVB API < 5.6
...
https://bugzilla.gnome.org/show_bug.cgi?id=721869
2014-05-26 13:28:24 +02:00
Vincent Penquerc'h
038d9794a1
dvbsrc: fix typo in testing flag
...
% instead of &
https://bugzilla.gnome.org/show_bug.cgi?id=721869
2014-05-26 13:28:24 +02:00
Stefan Ringel
ab7f9654f4
dvbsrc: Add missing tone ioctl
...
https://bugzilla.gnome.org/show_bug.cgi?id=730692
2014-05-26 09:19:03 +02:00
Michael Olbrich
c1db46ffc6
dvbsrc: fix building with newer kernel headers
...
c400eef377
introduced some defines to handle
older kernel headers. However, the check is done before the corresponding
kernel header (dvb/frontend.h) is included. As a result the macros are
always defined with results in 'redefined' errors with newer kernel
headers.
Move the check after the include to fix this.
https://bugzilla.gnome.org/show_bug.cgi?id=730570
2014-05-22 13:02:13 +02:00
Sebastian Dröge
a76832451d
dvbsrc: Don't free string we're still using
...
CID 1213780
2014-05-12 10:04:16 +02:00
Reynaldo H. Verdejo Pinochet
a39c3bd01b
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
2014-05-10 18:30:30 -04:00
Reynaldo H. Verdejo Pinochet
d2138beb18
dvbsrc: fix up error reporting
...
This patch builds on previous work done by
Fabrizio (Misto) Milo <mistobaan@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=641204
2014-05-10 18:30:24 -04:00
Vincent Penquerc'h
8250a7d531
dvbbasebin: fix test for proper use count balancing
...
usecount is unsigned, so too many "unuse" will wrap the counter
around and the >= 0 check will always be fine.
It would be much simpler to just make the counter signed, but
moving the checks where the decrements happen allow a mistake
to be detected earlier, and thus easier to debug.
Coverity 1139791
2014-04-21 09:34:46 +01:00
Edward Hervey
c45b44e309
dvb: Fix if() check
...
introduced by my previous commit :(
2014-04-16 16:07:17 +02:00
Edward Hervey
d16cc860a3
dvb/camsession: Don't do operations on unexisting sessions
...
CID #206114
2014-04-16 15:37:57 +02:00
Edward Hervey
1a42aaad47
dvb: Handle socket() failure
...
CID #206178
2014-04-16 15:32:32 +02:00
Edward Hervey
012b5b8d4a
dvbsrc: Handle failure to get statistics from the device
...
Check the ioctl return value and don't output bogus values.
CID #206016
2014-04-16 15:23:57 +02:00
Edward Hervey
c947e820cf
dvbsrc: Don't close a fd that wasn't open
...
We are handling the failure cases in this block where the open failed
CID #206179
2014-04-16 15:18:44 +02:00
Edward Hervey
bf043208cd
dvbsrc: Don't try to access NULL string
...
And refactor the pid setting code to be in its own function for clarity
CID #206374
2014-04-16 15:17:03 +02:00
Edward Hervey
c400eef377
dvbsrc: Handle symbols added in minor version 7 and 8
...
Some symbols were re-defined in minor v8 (GO TEAM BACKWARDS COMPATIBLE!)
Some symbols were added in minor v7
https://bugzilla.gnome.org/show_bug.cgi?id=727977
2014-04-11 10:18:32 +02:00
Edward Hervey
0cf6b2be3e
dvbsrc: Add comment with all DVB API v5 minor changes
...
There wasn't a definite list anyway, so I just dove in the kernel
and extract all that information.
2014-04-11 08:18:59 +02:00
Tim-Philipp Müller
d576a7b5eb
dvb: fix compilation
2014-04-08 16:09:16 +01:00
Vincent Penquerc'h
dd77b7ad79
dvb: reject too long socket paths
...
Coverity 206004
2014-04-08 15:27:40 +01:00
Stefan Ringel
fd8bda1c03
dvbsrc: mpegts: change bandwidth to DVBv5 values
...
Signed-off-by: Stefan Ringel <linuxtv@stefanringel.de>
https://bugzilla.gnome.org/show_bug.cgi?id=725463
2014-03-15 18:33:18 +01:00
Stefan Ringel
cd11a38bf0
dvbsrc: Add dvb-s2, dvb-t2 support
...
https://bugzilla.gnome.org/show_bug.cgi?id=709414
2014-01-03 11:26:26 +01:00
Stefan Ringel
e34df02115
dvbsrc: Change from deprecated frontend type field to DTV_ENUM_DELSYS
...
-add delsys property
-add delivery system capability to the gstreamer adapter structure
-ready for add new delivery systems
Application must ask the adapter structure to know which delivery systems are avaible.
The property delsys must be set.
https://bugzilla.gnome.org/show_bug.cgi?id=709414
2014-01-03 11:26:12 +01:00
Edward Hervey
c3e4fe4edc
dvb: Adapt for latest mpegts lib changes
2013-08-21 08:59:42 +02:00
Tim-Philipp Müller
9d92aaabe7
dvbbasebin: fix criticals when trying to cast a GstPad to a GstElement
...
message->src might be a GstPad. Observed during gst-inspect-1.0 -a
2013-08-14 13:29:02 +01:00
Tim-Philipp Müller
933965984f
dvbsrc: remove use of _XOPEN_SOURCE
...
Which causes problems when used with _GNU_SOURCE apparently, and it
seems it was only set because of usleep(), which we can just replace
with g_usleep() until we get rid of those entirely.
https://bugzilla.gnome.org/show_bug.cgi?id=705208
2013-08-03 18:09:24 +01:00
Edward Hervey
97426a1caa
all: Fix for GST_DISABLE_GST_DEBUG
...
Where applicable, remove methods that don't do anything different than
the default implementation.
2013-07-29 09:42:12 +02:00
Edward Hervey
32f33c9448
dvb: Fix PMT handling
...
Was using an older (temporary) version of the mpegts library API.
2013-07-05 13:54:39 +02:00
Edward Hervey
b8ad909bd7
dvb: GstMpegTS => GstMpegTs
2013-07-03 14:00:58 +02:00
Edward Hervey
10c929c795
dvb: Switch to MPEG-TS SI library
...
Also serves as an example of using mpegts library from a plugin
https://bugzilla.gnome.org/show_bug.cgi?id=702724
2013-07-03 09:17:25 +02:00
Sebastian Pölsterl
5d406192c3
Use DVB API v5 aka S2API instead of obsolete v3 API
...
Patch is based on work of Tony Houghton <h@realh.co.uk>
https://bugzilla.gnome.org/show_bug.cgi?id=654479
2013-05-08 18:14:14 +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
Sebastian Dröge
e51cd4fe2f
gst: Add better support for static plugins
2013-04-15 15:59:22 +02:00
Tim-Philipp Müller
86ae538ca2
sys: print format fixes in debug messages
2013-04-08 17:34:41 +01:00
Edward Hervey
5e70c76b33
dvb: Move CAM handling to a separate GstTask
...
* No longer blocks in READY=>PAUSED (faster startup)
* No longer requires a pad probe
2013-03-31 12:11:48 +02:00
Edward Hervey
68c0d16b2c
dvbsrc: We output time segments
...
Fixes #690949
2013-03-30 13:54:50 +01:00
Wim Taymans
9444776aff
dvbsrc: handle EINTR from poll
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=693212
2013-02-05 17:39:15 +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
Tim-Philipp Müller
32ba17cd0f
Use gst_element_class_set_static_metadata()
...
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
2012-10-17 17:46:34 +01:00
Mark Nauwelaerts
578861abea
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
2012-09-14 17:27:49 +02:00
Edward Hervey
48ae90aff8
dvb: More fixups to 1.0
...
Not tested yet !
Conflicts:
sys/dvb/gstdvbsrc.c
2012-08-14 19:07:06 +02:00
Edward Hervey
7a72c961de
cam: Allow time for CA to initialize
...
Some devices take some time to initialize, and until they are they
will error out when trying to get information about the CA device.
2012-08-14 19:06:30 +02:00
Edward Hervey
25cb359ddb
cam: PMT_REPLY parsing
...
Not used yet
2012-08-14 19:06:25 +02:00
Edward Hervey
dfdbb87813
dvbbasebin: Switch to use tsparse
2012-08-14 19:06:21 +02:00
Fabrizio (Misto) Milo
fe5cf525e1
dvbsrc + dvb api buffer property to overcome buffer under reads
2012-08-14 19:05:32 +02:00
Tony Houghton
a996d2f01a
Correct satellite delivery descriptor parsing.
...
Original code to parse satellite delivery descriptors to generate
"satellite" structures appeared to be copy & pasted from cable's code
without amending for satellite.
Also added 8PSK to dvbsrc's enum for modulation.
https://bugzilla.gnome.org/show_bug.cgi?id=654485
Conflicts:
gst/mpegdemux/gstmpegdesc.h
gst/mpegdemux/mpegtspacketizer.c
2012-06-21 11:37:21 +01: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
Fabrizio (Misto) Milo
1ee6a35949
dvbsrc: spell-check
2012-06-19 10:52:13 +01:00
Fabrizio (Misto) Milo
257d6e6e8a
dvb: better dvsrc polarity info
2012-06-19 10:50:58 +01:00