]>
git.ipfire.org Git - thirdparty/tvheadend.git/log
Bernhard Froehlich [Sun, 5 Jan 2014 20:59:29 +0000 (21:59 +0100)]
build: Fix clang compiler warning
Bernhard Froehlich [Sun, 5 Jan 2014 20:53:28 +0000 (21:53 +0100)]
build: Hide glibc workarounds in PLATFORM_LINUX because it does only make sense on Linux.
Bernhard Froehlich [Sun, 5 Jan 2014 20:47:25 +0000 (21:47 +0100)]
install: Properly install manpages in mandir/man1 which also fixes Bug#1064.
User Decke [Sat, 4 Jan 2014 22:23:46 +0000 (22:23 +0000)]
build: Fix compiler warning and properly cast return value of pthread_self() to long
User Decke [Sat, 4 Jan 2014 22:16:58 +0000 (22:16 +0000)]
build: Fix compile warning with clang 3.3
src/descrambler/cwc.c:493:11: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
if (len < 0) return -1;
~~~ ^ ~
User Decke [Sat, 4 Jan 2014 22:08:43 +0000 (22:08 +0000)]
misc: Consistently use hts_strdupa() instead of libc strdupa() which is Linux specific.
Adam Sutton [Thu, 2 Jan 2014 21:29:14 +0000 (21:29 +0000)]
mpegts: fix broken input handling for inputs with >1 active services..
This affects IPTV where there is only 1 input, if 2 services have the same PIDs
then both services were receiving each others packets and causing a mess!
I think later on I should really remove the transport list from the input and
have it on the mux? I think I did it this way to keep some things simpler, but
it's caused confusion here.
This should fix #1875.
Adam Sutton [Thu, 2 Jan 2014 19:10:09 +0000 (11:10 -0800)]
Merge pull request #316 from bluzee/master
linuxdvb: fix typo in diseqc toneburst switch setting. Fixes #1856
bluzee [Thu, 2 Jan 2014 16:45:54 +0000 (09:45 -0700)]
linuxdvb: Typo. Fixes #1856
Adam Sutton [Wed, 1 Jan 2014 12:48:39 +0000 (12:48 +0000)]
zlib: fix error on partial compression of files. Fixes #1902.
This occurs where compressing small, already compressd files, typically images.
I could avoid compression of very small (or already compressed) files. But its
simple to keep things uniform and fixing this makes sense anyway!
Adam Sutton [Tue, 31 Dec 2013 15:56:20 +0000 (15:56 +0000)]
vendor: add historic DVB API headers
This is useful for validating new code against older versions (and newer).
Adam Sutton [Mon, 30 Dec 2013 23:14:53 +0000 (23:14 +0000)]
webui: make EPG grid stateful. Fixes #1025.
Adam Sutton [Mon, 30 Dec 2013 22:45:13 +0000 (22:45 +0000)]
webui: add checkbox selector to all idnode grids. Fixes #1473.
Adam Sutton [Mon, 30 Dec 2013 14:43:06 +0000 (14:43 +0000)]
support: fix IPTV configuration migration for disabled/unmapped channels
Adam Sutton [Mon, 30 Dec 2013 09:19:14 +0000 (09:19 +0000)]
http htsp: fix status handling. Race condition caused NULL ptr exception. Fixes #1898.
Adam Sutton [Sun, 29 Dec 2013 23:38:31 +0000 (23:38 +0000)]
mpegts: ensure init scan completes properly
I was not properly checking completion on table completion and CAT processing
was not marking that table as complete (ever).
Adam Sutton [Sun, 29 Dec 2013 23:04:51 +0000 (23:04 +0000)]
mepgts: correct invalid interpretation of service type in VCT. Fixes #1857.
Adam Sutton [Fri, 27 Dec 2013 23:39:37 +0000 (23:39 +0000)]
main: provide option to make daemon dumpable
Adam Sutton [Tue, 24 Dec 2013 23:49:39 +0000 (23:49 +0000)]
mpegts: ensure that PCR (and PMT) are properly opened by service and recorded.
Fixes #1884.
Adam Sutton [Tue, 24 Dec 2013 23:48:02 +0000 (23:48 +0000)]
support: updated some random helper scripts
Adam Sutton [Mon, 23 Dec 2013 23:56:10 +0000 (23:56 +0000)]
iptv: allow non-multicast IPTV (useful for testing)
I don't actually check for valid MC group address, I simply try and add group
and just warn if it fails (but carry on anyway).
Adam Sutton [Mon, 23 Dec 2013 23:55:57 +0000 (23:55 +0000)]
iptv: ensure startup will not block installation of PID filters
Adam Sutton [Mon, 23 Dec 2013 23:01:52 +0000 (23:01 +0000)]
epggrab: reduce spam in the logs, fixes #1839.
Adam Sutton [Mon, 23 Dec 2013 22:37:27 +0000 (22:37 +0000)]
epggrab: ensure / in channel ID doesn't cause config failure. Fixes #1774.
Adam Sutton [Mon, 23 Dec 2013 21:25:38 +0000 (21:25 +0000)]
build: add default Autobuild job (debian)
This works fine for most native compilations, so saves spec'ing anything else.
Adam Sutton [Sun, 22 Dec 2013 20:56:12 +0000 (20:56 +0000)]
misc: add qsort_r replacement for glibc < 2.8. Fixes #1871
Adam Sutton [Sun, 22 Dec 2013 21:02:39 +0000 (21:02 +0000)]
mpegts: fix some minor compilation issues on older gcc
Adam Sutton [Sun, 22 Dec 2013 21:27:54 +0000 (21:27 +0000)]
linuxdvb: work around bug in gcc <4.6. Fixes #1869
Adam Sutton [Sun, 22 Dec 2013 18:46:31 +0000 (18:46 +0000)]
linuxdvb: move FE status message from trace to debug on change
This could still be spammy if the signal isn't clean and keeps going
in and out. But that's just tough luck I guess!
Adam Sutton [Sun, 22 Dec 2013 18:45:26 +0000 (18:45 +0000)]
linuxdvb: possible HW race condition, LNB might not switch LO before FE locks
Adam Sutton [Sun, 22 Dec 2013 20:55:38 +0000 (20:55 +0000)]
support: remove stray commenting out of stderr redirect
Adam Sutton [Sat, 21 Dec 2013 22:06:15 +0000 (22:06 +0000)]
mpegts: update to the way init scan table completion is handled
Should be a bit better at handling tables that may or may not exist.
We have an initial timeout after which we check if data for any tables
has been received but incomplete.
This is still far from ideal, really what is needed is to make this
all more async based on when we sync etc... but this will do for now.
Adam Sutton [Sat, 21 Dec 2013 22:01:07 +0000 (22:01 +0000)]
main: add some (commented out) debug for gtimer and fixed minor issue in gtimercmp
The issue should be benign, equal timers were always reported -1, not right.
Adam Sutton [Sat, 21 Dec 2013 10:00:05 +0000 (10:00 +0000)]
main: Fix stupid typo in tsfile ATSC option flag
Adam Sutton [Wed, 18 Dec 2013 19:21:13 +0000 (19:21 +0000)]
capmt: fix silly error in capmt record building with new connected field
Adam Sutton [Wed, 18 Dec 2013 18:53:02 +0000 (18:53 +0000)]
capmt: attempt to avoid confusion over validity of configuration
UI now has 3 possible colours, red - not working, orange - not connected
(but will probably work, used for new non-persistent mode 2) and green -
actively connected.
Adam Sutton [Wed, 18 Dec 2013 18:12:30 +0000 (18:12 +0000)]
Merge remote-tracking branch 'origin/pr/311'
Adam Sutton [Tue, 17 Dec 2013 22:26:18 +0000 (22:26 +0000)]
iptv: stop possible crash on IPTV mux tune failure
Adam Sutton [Tue, 17 Dec 2013 21:53:50 +0000 (21:53 +0000)]
support: add basic IPTV migration to conf_migrate script
Mariusz Bialonczyk [Fri, 13 Dec 2013 08:16:20 +0000 (09:16 +0100)]
capmt: adjust for recent OSCam frame change
Additional byte describing adapter index was
added to the beginning of the frame.
It only affect tvh capmt mode 2.
Adam Sutton [Thu, 12 Dec 2013 22:32:16 +0000 (22:32 +0000)]
linuxdvb: fix bug stopping adapter path fallback working. fixes #1855.
Adam Sutton [Thu, 12 Dec 2013 22:28:45 +0000 (22:28 +0000)]
support: add ccache support to configure script
Adam Sutton [Thu, 12 Dec 2013 22:28:07 +0000 (22:28 +0000)]
linuxdvb: was not storing ATSC configuration, fixes #1867.
Dave Chapman [Fri, 6 Dec 2013 23:40:53 +0000 (23:40 +0000)]
webui: Fix "Page: All" display by using a large value for it instead of -1
Adam Sutton [Fri, 6 Dec 2013 12:03:27 +0000 (12:03 +0000)]
muxer pass: correct program number in PMT generation
Adam Sutton [Thu, 5 Dec 2013 12:44:29 +0000 (04:44 -0800)]
Merge pull request #309 from manio/master
Fix loading charset overrides list
Mariusz Bialonczyk [Thu, 5 Dec 2013 11:55:32 +0000 (12:55 +0100)]
Fix loading charset overrides list
The dvb_charset_init() was not called anywhere.
Adam Sutton [Wed, 4 Dec 2013 23:28:29 +0000 (23:28 +0000)]
tvhlog: stop full debug by default if --trace specified
Often I want to enable trace (and debug) for a specific set of subsys,
but I had it configured to enable ALL debug if any debug related options
were spec'd (for compat). But this was a PITA and I kept doing
--trace blah --debug none just to get around it!
Adam Sutton [Wed, 4 Dec 2013 22:54:24 +0000 (22:54 +0000)]
webui: minor correction to checkbox controls
Adam Sutton [Sun, 3 Nov 2013 20:15:14 +0000 (20:15 +0000)]
linuxdvb: allow init scan to be started/stopped by setting initscan state
Adam Sutton [Wed, 4 Dec 2013 22:38:44 +0000 (22:38 +0000)]
subscriptions: reverse EPG and initscan priorities
For networks with extended EIT, having EPG take precdence causes chaos
during init scan. The reality is that forcing an EPG scan to stop because
someone wants to scan a new mux is probably the right thing to do anyway.
Adam Sutton [Wed, 4 Dec 2013 22:37:45 +0000 (22:37 +0000)]
epggrab: ensure muxes with no (or disabled) modules aren't started
Adam Sutton [Wed, 4 Dec 2013 22:17:22 +0000 (22:17 +0000)]
tsfile: cmdline flag to specify ATSC input
Previously all standard DVB and ATSC tables were installed, this
would cause the initscan to time out. We try and be more clever
with determining the type, but this will do for now.
The code allows the option to be per mux (file), but the cmdline
is currently limited to a global setting, which is likely to be
more than enough.
Adam Sutton [Wed, 4 Dec 2013 21:50:06 +0000 (21:50 +0000)]
linuxdvb: API compat fixes for stats update from PR307
Adam Sutton [Wed, 4 Dec 2013 21:52:31 +0000 (21:52 +0000)]
Merge remote-tracking branch 'origin/pr/307'
Adam Sutton [Wed, 4 Dec 2013 21:14:16 +0000 (21:14 +0000)]
linuxdvb: fix backwards compatibility
Adam Sutton [Wed, 4 Dec 2013 20:37:16 +0000 (20:37 +0000)]
imagecache: fix stupid compilation mistakes in code rework.
Fixes #1848
Adam Sutton [Wed, 4 Dec 2013 15:48:57 +0000 (15:48 +0000)]
Merge remote-tracking branch 'origin/pr/308'
Mariusz Bialonczyk [Tue, 3 Dec 2013 10:57:24 +0000 (11:57 +0100)]
capmt: fix numbering services after
a686fe3
The commit fixes simultaneous channel decryption.
We are enumerating services based on the generated seq value.
In fact it should be elementary stream PID, but currently
we can leave it until PMT code rework.
The CA_SET_PID and CA_SET_DESCR from OSCam was always set with
seq=0 leading to setting all keys always to first subscribed
service.
Adam Sutton [Mon, 2 Dec 2013 13:53:38 +0000 (13:53 +0000)]
muxer pass: correct PAT generation
Adam Sutton [Mon, 2 Dec 2013 13:33:52 +0000 (13:33 +0000)]
webui: remove old redundant code
Adam Sutton [Mon, 2 Dec 2013 13:30:59 +0000 (13:30 +0000)]
imagecache: migrate configuration to new API
I started to do this as there was a possible issue with imagecache as a result
of updates. However this has thus far not been proved, but still a useful
update. Hopefully not too broken!
Andreas Öman [Tue, 19 Nov 2013 13:43:07 +0000 (14:43 +0100)]
h264: Read crop from SPS and subtract from picture width/height
Adam Sutton [Sun, 1 Dec 2013 22:35:10 +0000 (22:35 +0000)]
service: report better status responses when subscription fails
Adam Sutton [Sun, 1 Dec 2013 14:52:07 +0000 (14:52 +0000)]
servicemapper: work on getting feedback from service mapping
Mariusz Bialonczyk [Sun, 1 Dec 2013 07:00:36 +0000 (08:00 +0100)]
capmt: add simplified OSCam dvbapi protocol as new capmt mode
The new mode uses one domain socket connection for all subscribed
services. The CA_SET_PID and CA_SET_DESCR are received over same
socket connection instead of one UDP socket per adapter.
The minimum OSCam version for use with this mode is svn rev 9063.
Mariusz Bialonczyk [Sun, 1 Dec 2013 06:52:51 +0000 (07:52 +0100)]
capmt: add webui oscam mode
Dave Chapman [Sun, 1 Dec 2013 00:24:26 +0000 (00:24 +0000)]
Add documentation for the rewrite PAT/PMT options
Adam Sutton [Sun, 1 Dec 2013 00:10:13 +0000 (00:10 +0000)]
muxer pass: remove stray printf
Dave Chapman [Sat, 30 Nov 2013 23:53:48 +0000 (23:53 +0000)]
Revert to using old PMT generation code in the PMT rewrite case.
Adam Sutton [Thu, 28 Nov 2013 11:12:23 +0000 (11:12 +0000)]
muxer pass: some re-org, UI fixup and general tidying of PMT/PAT rewrite
I've made the PAT/PMT rewriting indepedently configured, currently I think
the multi-packet PMT is a limitation we need to look into.
Adam Sutton [Thu, 28 Nov 2013 11:11:15 +0000 (11:11 +0000)]
mpegts: don't pass unecessary stream specific PIDs for other streams
This mostly affected the PMTs which were all passed to any service, rather
than just the specific one for the relevant service.
Adam Sutton [Thu, 28 Nov 2013 10:47:42 +0000 (10:47 +0000)]
mpegts: ensure PMT PID is stored and that on update service restarts
Dave Chapman [Thu, 28 Nov 2013 01:07:09 +0000 (01:07 +0000)]
Clean up handing of unsupported PMT/PAT formats
Dave Chapman [Thu, 28 Nov 2013 01:01:54 +0000 (01:01 +0000)]
Remove a debugging printf
Dave Chapman [Thu, 28 Nov 2013 00:50:39 +0000 (00:50 +0000)]
Merge relevant parts of PR#255 to complete the implementation of PAT/PMT passthrough, with the option of rewriting the PAT and PMT so the PAT only contains a reference to the included service, and the PMT only contains references to the included streams. This still needs more work - the PMT PID is being passed to the muxer as zero the first time a channel is streamed after tvh starts, and the PMT rewrite code fails if the PMT spans multiple TS packets
Adam Sutton [Wed, 27 Nov 2013 22:58:53 +0000 (22:58 +0000)]
mpegts: remove stray printf!
Adam Sutton [Wed, 27 Nov 2013 22:39:22 +0000 (22:39 +0000)]
mpegts: pass certain PIDs through to the TS muxer
Note: this will probably break the muxer atm, as its not expecting
those packets and will still mux in its own. But its just a start.
Adam Sutton [Sat, 30 Nov 2013 21:31:31 +0000 (21:31 +0000)]
iptv: fix lock ordeirng bug
Adam Sutton [Sat, 30 Nov 2013 14:38:19 +0000 (14:38 +0000)]
epggrab: fix configuration issues
Adam Sutton [Thu, 28 Nov 2013 12:21:59 +0000 (12:21 +0000)]
mpegts: some minor corrections to table extraid in PAT/PMT
Adam Sutton [Wed, 27 Nov 2013 17:50:24 +0000 (17:50 +0000)]
mpegts: stop NIT processing from hanging
Was stupidly returning error (instead of marking complete) when unwanted
NID is detected. This causes real problems on DVB-C, and possibly DVB-S.
Might need to revisit some SDT stuff, which I think was blocking, and
now isn't waiting, for NIT.
Adam Sutton [Wed, 27 Nov 2013 16:34:37 +0000 (16:34 +0000)]
support: very rough and ready script to multicast TS file for IPTV testing.
Adam Sutton [Wed, 27 Nov 2013 16:34:19 +0000 (16:34 +0000)]
iptv: fix mistakes that stopped UDP/RTP streaming from working.
Adam Sutton [Mon, 25 Nov 2013 16:55:23 +0000 (16:55 +0000)]
linuxdvb: remove class delete method
This is redundant and should have been comitted with last IPTV change.
Adam Sutton [Mon, 25 Nov 2013 15:12:13 +0000 (15:12 +0000)]
iptv: make it possible to delete muxes
Slight restructuring of delete calls to take advantage of existing mpegts_mux
internal delete callback. Though had to fix static mux_instance issue.
beralt [Mon, 25 Nov 2013 10:59:16 +0000 (11:59 +0100)]
linuxdvb: convert snr units to dB
beralt [Mon, 25 Nov 2013 10:32:33 +0000 (11:32 +0100)]
linuxdvb: another small typo
beralt [Mon, 25 Nov 2013 10:27:13 +0000 (11:27 +0100)]
linuxdvb: fix small errors while gathering statistics
beralt [Mon, 25 Nov 2013 10:19:08 +0000 (11:19 +0100)]
linuxdvb: use the v5 property interface for statistics
Adam Sutton [Mon, 25 Nov 2013 09:20:14 +0000 (09:20 +0000)]
webui: enable state on all idnode based grids
Adam Sutton [Mon, 25 Nov 2013 09:01:29 +0000 (09:01 +0000)]
http: make line processing dynamic
This overcomes issues caused by long lines, as experienced when enabling
cookies for extjs grid state.
Adam Sutton [Mon, 25 Nov 2013 07:15:25 +0000 (07:15 +0000)]
epggrab: move message to debug, to stop startup spam!
Adam Sutton [Mon, 25 Nov 2013 07:14:38 +0000 (07:14 +0000)]
tvhlog: shut up the Lucid build complaining about un-init var
Adam Sutton [Sun, 24 Nov 2013 20:35:27 +0000 (12:35 -0800)]
Merge pull request #305 from manio/master
capmt: do not duplicate subscribed services
Adam Sutton [Sun, 24 Nov 2013 20:32:15 +0000 (20:32 +0000)]
iptv: added new configuration to allow subs and bandwidth limitations
The bandwidth limit is a soft one, it will stop any new subscriptions if
the peak bandwidth on the current services exceeds the limit. Possibly
this will need a bit of additional averaging in future to stop false
triggers.
Adam Sutton [Sun, 24 Nov 2013 20:18:30 +0000 (20:18 +0000)]
mpegts: add helper function for determining the weight of a mux instance
Adam Sutton [Sun, 24 Nov 2013 20:16:48 +0000 (20:16 +0000)]
webui streaming: make weight param universal for all HTTP streaming
Adam Sutton [Sun, 24 Nov 2013 19:14:10 +0000 (19:14 +0000)]
linuxdvb: move scanfile lines from debug to trace
Adam Sutton [Sun, 24 Nov 2013 19:09:38 +0000 (19:09 +0000)]
iptv: ensure that IPTV network settings are saved