Commit graph

3821 commits

Author SHA1 Message Date
Adam Sutton
3e11bc4f13 support: remove stray commenting out of stderr redirect 2013-12-22 20:55:38 +00:00
Adam Sutton
13864f9eac 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.
2013-12-21 22:35:25 +00:00
Adam Sutton
70bf35b6f6 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.
2013-12-21 22:35:25 +00:00
Adam Sutton
57b7b33d3a main: Fix stupid typo in tsfile ATSC option flag 2013-12-21 22:35:25 +00:00
Adam Sutton
89d7bb308f capmt: fix silly error in capmt record building with new connected field 2013-12-18 19:21:13 +00:00
Adam Sutton
7d6f932bd5 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.
2013-12-18 18:53:02 +00:00
Adam Sutton
c76b10fc18 Merge remote-tracking branch 'origin/pr/311' 2013-12-18 18:12:30 +00:00
Adam Sutton
e67a30c225 iptv: stop possible crash on IPTV mux tune failure 2013-12-17 22:26:18 +00:00
Adam Sutton
dae84cec66 support: add basic IPTV migration to conf_migrate script 2013-12-17 21:53:50 +00:00
Mariusz Bialonczyk
2db7becc5b 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.
2013-12-13 09:21:24 +01:00
Adam Sutton
6f62adc287 linuxdvb: fix bug stopping adapter path fallback working. fixes #1855. 2013-12-12 22:32:16 +00:00
Adam Sutton
6c3aca2880 support: add ccache support to configure script 2013-12-12 22:28:45 +00:00
Adam Sutton
3e41a7610d linuxdvb: was not storing ATSC configuration, fixes #1867. 2013-12-12 22:28:07 +00:00
Dave Chapman
eb8c99b493 webui: Fix "Page: All" display by using a large value for it instead of -1 2013-12-06 23:40:53 +00:00
Adam Sutton
5fce3a4941 muxer pass: correct program number in PMT generation 2013-12-06 12:04:15 +00:00
Adam Sutton
1dcb0947b9 Merge pull request #309 from manio/master
Fix loading charset overrides list
2013-12-05 04:44:29 -08:00
Mariusz Bialonczyk
3753b1122b Fix loading charset overrides list
The dvb_charset_init() was not called anywhere.
2013-12-05 12:55:32 +01:00
Adam Sutton
f6f79ad413 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!
2013-12-04 23:28:29 +00:00
Adam Sutton
321d6b35bf webui: minor correction to checkbox controls 2013-12-04 22:56:33 +00:00
Adam Sutton
b3366c6631 linuxdvb: allow init scan to be started/stopped by setting initscan state 2013-12-04 22:56:33 +00:00
Adam Sutton
34743f9cbc 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.
2013-12-04 22:56:32 +00:00
Adam Sutton
d58410d817 epggrab: ensure muxes with no (or disabled) modules aren't started 2013-12-04 22:56:32 +00:00
Adam Sutton
9fc6e36114 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.
2013-12-04 22:17:22 +00:00
Adam Sutton
ea751dada6 linuxdvb: API compat fixes for stats update from PR307 2013-12-04 21:55:13 +00:00
Adam Sutton
3560cee63d Merge remote-tracking branch 'origin/pr/307' 2013-12-04 21:52:31 +00:00
Adam Sutton
7f9c4cc75e linuxdvb: fix backwards compatibility 2013-12-04 21:52:24 +00:00
Adam Sutton
e1443a4cc3 imagecache: fix stupid compilation mistakes in code rework.
Fixes #1848
2013-12-04 20:37:16 +00:00
Adam Sutton
67a585c96a Merge remote-tracking branch 'origin/pr/308' 2013-12-04 15:48:57 +00:00
Mariusz Bialonczyk
a20fc729a8 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.
2013-12-03 13:04:55 +01:00
Adam Sutton
bfa033de6a muxer pass: correct PAT generation 2013-12-02 13:53:38 +00:00
Adam Sutton
36fc669182 webui: remove old redundant code 2013-12-02 13:33:52 +00:00
Adam Sutton
582e205bc0 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!
2013-12-02 13:30:59 +00:00
Andreas Öman
1b784355ad h264: Read crop from SPS and subtract from picture width/height 2013-12-02 00:04:12 +00:00
Adam Sutton
e33dabee8b service: report better status responses when subscription fails 2013-12-01 22:36:59 +00:00
Adam Sutton
a1029481d9 servicemapper: work on getting feedback from service mapping 2013-12-01 22:36:59 +00:00
Mariusz Bialonczyk
a02d9f8625 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.
2013-12-01 10:28:36 +01:00
Mariusz Bialonczyk
782cb80f2f capmt: add webui oscam mode 2013-12-01 07:58:36 +01:00
Dave Chapman
c7d0335eb1 Add documentation for the rewrite PAT/PMT options 2013-12-01 00:24:26 +00:00
Adam Sutton
b91b414c75 muxer pass: remove stray printf 2013-12-01 00:11:18 +00:00
Dave Chapman
eeaf8aa2c7 Revert to using old PMT generation code in the PMT rewrite case. 2013-12-01 00:11:18 +00:00
Adam Sutton
e4ae172467 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.
2013-12-01 00:11:18 +00:00
Adam Sutton
3d5b0f22d8 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.
2013-12-01 00:11:17 +00:00
Adam Sutton
cee904bf52 mpegts: ensure PMT PID is stored and that on update service restarts 2013-12-01 00:11:17 +00:00
Dave Chapman
40fb1d1a6a Clean up handing of unsupported PMT/PAT formats 2013-12-01 00:11:17 +00:00
Dave Chapman
c8d1f2390a Remove a debugging printf 2013-12-01 00:11:17 +00:00
Dave Chapman
6df74d3d75 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 2013-12-01 00:11:17 +00:00
Adam Sutton
7f11eac58a mpegts: remove stray printf! 2013-12-01 00:11:17 +00:00
Adam Sutton
d61c93afb7 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.
2013-12-01 00:11:17 +00:00
Adam Sutton
d1eabea12d iptv: fix lock ordeirng bug 2013-11-30 21:31:31 +00:00
Adam Sutton
fcc97df55c epggrab: fix configuration issues 2013-11-30 14:38:19 +00:00