Commit graph

4436 commits

Author SHA1 Message Date
Jaroslav Kysela
c8543600ef optimize mpegts_input_recv_packets() routine 2014-06-16 23:07:24 +02:00
Jaroslav Kysela
fb955ad76b mpegts input: slightly optimize the main input routine 2014-06-16 22:22:24 +02:00
Jaroslav Kysela
9584e7ee64 descrambler: add more logs for lost packets 2014-06-16 21:32:23 +02:00
Jaroslav Kysela
672f93dbfd esfilter: rewrite the ONCE rule 2014-06-16 17:57:32 +02:00
Jaroslav Kysela
163ec92059 webui (idnode.js): If some key is not preset, show the key itself 2014-06-16 17:44:41 +02:00
Jaroslav Kysela
0e6c46aa0f esfilter: rewrite the CA filtering for the proper functionality 2014-06-16 17:38:05 +02:00
Jaroslav Kysela
669b70180c esfilter: fix the exclusive match, add one more log for CA filter 2014-06-16 16:43:04 +02:00
Jaroslav Kysela
5394ce2cc9 esfilter: Fixed ANY match for CA filter 2014-06-16 16:21:29 +02:00
Jaroslav Kysela
d039610c24 service: Improve the filtered components handling 2014-06-16 16:08:51 +02:00
Jaroslav Kysela
faae73248b capmt: Use only filtered components for ECM PIDs 2014-06-16 16:08:21 +02:00
Jaroslav Kysela
701e84c286 cwc: Use only filtered components for ECM PIDs 2014-06-16 16:07:29 +02:00
Jaroslav Kysela
b088a7598b mpegts_input: Open only PIDs for filtered components 2014-06-16 15:14:26 +02:00
Jaroslav Kysela
64ed672850 extjs: remove obsolete /servicedetails page 2014-06-16 15:05:56 +02:00
Jaroslav Kysela
6a9f35e76b capmt: another pid fix for the stop filter routine 2014-06-16 14:50:52 +02:00
Jaroslav Kysela
b0cdac1aa3 capmt: fix the pid open/close handling 2014-06-16 14:37:10 +02:00
Jaroslav Kysela
454a529c02 descrambler: tiny log message updates 2014-06-16 14:33:17 +02:00
Jaroslav Kysela
7a06f00d97 dvb autodiscovery: more logs and improvements
- added logs for the scanfile mux creation
- added logs for the autodiscovery mux creation
- added logs for the autodiscovery mux changes
- use also symbol rate for the equal mux comparison
- handle the delivery system change (dvb-s / dvb-s2 switch for example)
2014-06-13 22:49:04 +02:00
Jaroslav Kysela
02d1da49c2 dvb_support: add dvb_mux_conf_str() 2014-06-13 22:21:04 +02:00
Jaroslav Kysela
4699c3a71a mpegts_network_dvb: fix the orbital position check for predefined muxes (scanfile) 2014-06-13 00:00:24 +02:00
Jaroslav Kysela
74e15e3273 scanfile: fix parsing for the latest formats 2014-06-12 23:01:53 +02:00
Jaroslav Kysela
65aad9ba55 mpegts_mux_dvb: fix the dvb-s position parsing 2014-06-12 22:48:26 +02:00
Jaroslav Kysela
58b6bd8e3c capmt: there are multiple waiters - use pthread_cond_broadcast() 2014-06-12 19:52:31 +02:00
Jaroslav Kysela
501aa5360d descrambler: check for key validity 2014-06-12 17:38:04 +02:00
Jaroslav Kysela
6574564d9d capmt: allow single key updates again 2014-06-12 17:01:27 +02:00
Jaroslav Kysela
65360e3cb6 descrambler: allow single key updates again 2014-06-12 16:52:52 +02:00
Jaroslav Kysela
0ef22eb78b Revert "cwc: return back the key composition - seems like some CA cards returns only single key"
This reverts commit da05976c32.
2014-06-12 16:51:25 +02:00
Jaroslav Kysela
da05976c32 cwc: return back the key composition - seems like some CA cards returns only single key 2014-06-12 15:10:01 +02:00
Jaroslav Kysela
7f5dff6405 descrambler: unify log messages, some minor logic changes 2014-06-12 10:36:00 +02:00
Jaroslav Kysela
23df6e3d56 mpegts_network_dvb: fix the comment 2014-06-12 09:34:12 +02:00
Jaroslav Kysela
fbe2e384ea descrambler: another key-timing fix 2014-06-12 09:32:52 +02:00
Jaroslav Kysela
afa2088454 capmt: minor fixes (cleanup on socket close) 2014-06-12 09:32:52 +02:00
Jaroslav Kysela
0051f72b78 tsdemux: do not show continuity error in first seconds of streaming
Most hardware stabilizes things after tuning and these messages are
irritating.
2014-06-12 09:32:52 +02:00
Adam Sutton
c05c643737 mpegts: fix some issues with network scanning
mux matching was far too strict and resulted in a failure to update muxes
with new modulations etc... Also frequency changes were not detected, so
there is some attempt to handle greater changes (mostly just DVB-S, could
be extended).

And where ONID/TSID are set, they are compared as an additional check.
I think it's a case of suck it and see, but on my Astra 28.2E scan this
did a nice job of cleaning up (including tying together modded) muxes.
2014-06-11 23:03:52 +01:00
Jaroslav Kysela
50d5b77470 capmt: little optimize the filter 2014-06-11 14:32:36 +02:00
Jaroslav Kysela
33e70e35c2 descrambler: add a timewindow for the odd/even key change 2014-06-11 14:32:19 +02:00
Jaroslav Kysela
8391ac5671 descrambler: small log correction 2014-06-11 12:59:54 +02:00
Jaroslav Kysela
a70a3f5ecd descrambler: be more verbose and little fixes 2014-06-11 12:40:00 +02:00
Jaroslav Kysela
d8e8e664e1 capmt: fix filters and ECM pid check
- EMMs seems work now for modes 3 and 4
2014-06-11 12:39:30 +02:00
Jaroslav Kysela
56196d31b0 mpegts_network: Fix the crash on shutdown (accessing registered but freed timer) 2014-06-11 12:24:47 +02:00
Adam Sutton
59b3d8a706 mpegts network_scan: move scanning structures back to network
This should make things slightly more efficient, I can't remember
now why I made these global in the first place!
2014-06-11 03:36:28 +01:00
Adam Sutton
e2b91b3e37 mpegts network_scan: fix problem with active muxes being re-added to scan Q 2014-06-11 01:03:57 +01:00
Jaroslav Kysela
626d2f01d7 tvhcsa_descramble: remove unused elementary_stream parameter 2014-06-10 23:21:11 +02:00
Jaroslav Kysela
0e29d5acba httpc: use poll to check for the EINPROGRESS state 2014-06-10 23:09:03 +02:00
Adam Sutton
87a232ebb8 mpegts network_scan: fix problems with having multiple networks
previously as soon as any mux failed it would give up assuming nothing else
could be tuned. However just because no tuner was available that could service
that mux doesn't mean there wasn't one that couldn't service another.

The only real issue I can see with this is if we're idle scanning it's possible
due to bad luck to starve muxes of an attempt. We can either rely on random
chance or put some additional weighting based on time? Though that could be
problematic for other reasons.
2014-06-10 21:40:15 +01:00
Jaroslav Kysela
b22336f60c httpc: add checking for NULL scheme and host 2014-06-10 20:14:43 +02:00
Jaroslav Kysela
3b808e72a3 capmt: another 'mode 1' fix 2014-06-10 19:53:51 +02:00
Jaroslav Kysela
985f3af0a6 capmt: adapter index fix for 'mode 1' 2014-06-10 18:39:05 +02:00
Jaroslav Kysela
6fc3a46810 Makefile: Simplify (and probably fix) the ffdecsa rules 2014-06-10 18:29:38 +02:00
perexg
4b4eb4d7c9 Merge pull request #422 from dmarion/osx
2 fixes to make it build-able on OS X
2014-06-10 18:19:45 +02:00
Damjan Marion
a2fe8f50db capmt: fix capmt_pid_remove() by removing extra semicolon
Thanks to clang for notifying this.
2014-06-10 18:07:54 +02:00