]> git.ipfire.org Git - thirdparty/tvheadend.git/log
thirdparty/tvheadend.git
12 years agooptimize mpegts_input_recv_packets() routine
Jaroslav Kysela [Mon, 16 Jun 2014 21:04:14 +0000 (23:04 +0200)] 
optimize mpegts_input_recv_packets() routine

12 years agompegts input: slightly optimize the main input routine
Jaroslav Kysela [Mon, 16 Jun 2014 20:22:24 +0000 (22:22 +0200)] 
mpegts input: slightly optimize the main input routine

12 years agodescrambler: add more logs for lost packets
Jaroslav Kysela [Mon, 16 Jun 2014 19:32:23 +0000 (21:32 +0200)] 
descrambler: add more logs for lost packets

12 years agoesfilter: rewrite the ONCE rule
Jaroslav Kysela [Mon, 16 Jun 2014 15:57:32 +0000 (17:57 +0200)] 
esfilter: rewrite the ONCE rule

12 years agowebui (idnode.js): If some key is not preset, show the key itself
Jaroslav Kysela [Mon, 16 Jun 2014 15:44:41 +0000 (17:44 +0200)] 
webui (idnode.js): If some key is not preset, show the key itself

12 years agoesfilter: rewrite the CA filtering for the proper functionality
Jaroslav Kysela [Mon, 16 Jun 2014 15:36:44 +0000 (17:36 +0200)] 
esfilter: rewrite the CA filtering for the proper functionality

12 years agoesfilter: fix the exclusive match, add one more log for CA filter
Jaroslav Kysela [Mon, 16 Jun 2014 14:38:18 +0000 (16:38 +0200)] 
esfilter: fix the exclusive match, add one more log for CA filter

12 years agoesfilter: Fixed ANY match for CA filter
Jaroslav Kysela [Mon, 16 Jun 2014 14:21:29 +0000 (16:21 +0200)] 
esfilter: Fixed ANY match for CA filter

12 years agoservice: Improve the filtered components handling
Jaroslav Kysela [Mon, 16 Jun 2014 14:08:51 +0000 (16:08 +0200)] 
service: Improve the filtered components handling

12 years agocapmt: Use only filtered components for ECM PIDs
Jaroslav Kysela [Mon, 16 Jun 2014 14:08:21 +0000 (16:08 +0200)] 
capmt: Use only filtered components for ECM PIDs

12 years agocwc: Use only filtered components for ECM PIDs
Jaroslav Kysela [Mon, 16 Jun 2014 13:16:30 +0000 (15:16 +0200)] 
cwc: Use only filtered components for ECM PIDs

12 years agompegts_input: Open only PIDs for filtered components
Jaroslav Kysela [Mon, 16 Jun 2014 13:14:26 +0000 (15:14 +0200)] 
mpegts_input: Open only PIDs for filtered components

12 years agoextjs: remove obsolete /servicedetails page
Jaroslav Kysela [Mon, 16 Jun 2014 13:05:56 +0000 (15:05 +0200)] 
extjs: remove obsolete /servicedetails page

12 years agocapmt: another pid fix for the stop filter routine
Jaroslav Kysela [Mon, 16 Jun 2014 12:50:52 +0000 (14:50 +0200)] 
capmt: another pid fix for the stop filter routine

12 years agocapmt: fix the pid open/close handling
Jaroslav Kysela [Mon, 16 Jun 2014 12:33:57 +0000 (14:33 +0200)] 
capmt: fix the pid open/close handling

12 years agodescrambler: tiny log message updates
Jaroslav Kysela [Mon, 16 Jun 2014 12:33:17 +0000 (14:33 +0200)] 
descrambler: tiny log message updates

12 years agodvb autodiscovery: more logs and improvements
Jaroslav Kysela [Fri, 13 Jun 2014 20:49:04 +0000 (22:49 +0200)] 
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)

12 years agodvb_support: add dvb_mux_conf_str()
Jaroslav Kysela [Fri, 13 Jun 2014 17:59:32 +0000 (19:59 +0200)] 
dvb_support: add dvb_mux_conf_str()

12 years agompegts_network_dvb: fix the orbital position check for predefined muxes (scanfile)
Jaroslav Kysela [Thu, 12 Jun 2014 22:00:24 +0000 (00:00 +0200)] 
mpegts_network_dvb: fix the orbital position check for predefined muxes (scanfile)

12 years agoscanfile: fix parsing for the latest formats
Jaroslav Kysela [Thu, 12 Jun 2014 21:01:53 +0000 (23:01 +0200)] 
scanfile: fix parsing for the latest formats

12 years agompegts_mux_dvb: fix the dvb-s position parsing
Jaroslav Kysela [Thu, 12 Jun 2014 20:48:26 +0000 (22:48 +0200)] 
mpegts_mux_dvb: fix the dvb-s position parsing

12 years agocapmt: there are multiple waiters - use pthread_cond_broadcast()
Jaroslav Kysela [Thu, 12 Jun 2014 17:52:31 +0000 (19:52 +0200)] 
capmt: there are multiple waiters - use pthread_cond_broadcast()

12 years agodescrambler: check for key validity
Jaroslav Kysela [Thu, 12 Jun 2014 15:38:04 +0000 (17:38 +0200)] 
descrambler: check for key validity

12 years agocapmt: allow single key updates again
Jaroslav Kysela [Thu, 12 Jun 2014 15:01:27 +0000 (17:01 +0200)] 
capmt: allow single key updates again

12 years agodescrambler: allow single key updates again
Jaroslav Kysela [Thu, 12 Jun 2014 14:52:52 +0000 (16:52 +0200)] 
descrambler: allow single key updates again

12 years agoRevert "cwc: return back the key composition - seems like some CA cards returns only...
Jaroslav Kysela [Thu, 12 Jun 2014 14:51:25 +0000 (16:51 +0200)] 
Revert "cwc: return back the key composition - seems like some CA cards returns only single key"

This reverts commit da05976c3209df9ef448cb672ee1dbbf4a4d813e.

12 years agocwc: return back the key composition - seems like some CA cards returns only single key
Jaroslav Kysela [Thu, 12 Jun 2014 13:10:01 +0000 (15:10 +0200)] 
cwc: return back the key composition - seems like some CA cards returns only single key

12 years agodescrambler: unify log messages, some minor logic changes
Jaroslav Kysela [Thu, 12 Jun 2014 08:36:00 +0000 (10:36 +0200)] 
descrambler: unify log messages, some minor logic changes

12 years agompegts_network_dvb: fix the comment
Jaroslav Kysela [Thu, 12 Jun 2014 07:34:12 +0000 (09:34 +0200)] 
mpegts_network_dvb: fix the comment

12 years agodescrambler: another key-timing fix
Jaroslav Kysela [Thu, 12 Jun 2014 07:28:48 +0000 (09:28 +0200)] 
descrambler: another key-timing fix

12 years agocapmt: minor fixes (cleanup on socket close)
Jaroslav Kysela [Thu, 12 Jun 2014 07:27:58 +0000 (09:27 +0200)] 
capmt: minor fixes (cleanup on socket close)

12 years agotsdemux: do not show continuity error in first seconds of streaming
Jaroslav Kysela [Wed, 11 Jun 2014 17:02:21 +0000 (19:02 +0200)] 
tsdemux: do not show continuity error in first seconds of streaming

Most hardware stabilizes things after tuning and these messages are
irritating.

12 years agompegts: fix some issues with network scanning
Adam Sutton [Wed, 11 Jun 2014 22:03:29 +0000 (23:03 +0100)] 
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.

12 years agoAdd new scanfile country codes 424/head
Indrek Ardel [Wed, 11 Jun 2014 14:38:49 +0000 (17:38 +0300)] 
Add new scanfile country codes

12 years agocapmt: little optimize the filter
Jaroslav Kysela [Wed, 11 Jun 2014 12:32:36 +0000 (14:32 +0200)] 
capmt: little optimize the filter

12 years agodescrambler: add a timewindow for the odd/even key change
Jaroslav Kysela [Wed, 11 Jun 2014 12:32:19 +0000 (14:32 +0200)] 
descrambler: add a timewindow for the odd/even key change

12 years agodescrambler: small log correction
Jaroslav Kysela [Wed, 11 Jun 2014 10:59:54 +0000 (12:59 +0200)] 
descrambler: small log correction

12 years agodescrambler: be more verbose and little fixes
Jaroslav Kysela [Wed, 11 Jun 2014 10:38:33 +0000 (12:38 +0200)] 
descrambler: be more verbose and little fixes

12 years agocapmt: fix filters and ECM pid check
Jaroslav Kysela [Wed, 11 Jun 2014 10:38:15 +0000 (12:38 +0200)] 
capmt: fix filters and ECM pid check

- EMMs seems work now for modes 3 and 4

12 years agompegts_network: Fix the crash on shutdown (accessing registered but freed timer)
Jaroslav Kysela [Wed, 11 Jun 2014 10:24:47 +0000 (12:24 +0200)] 
mpegts_network: Fix the crash on shutdown (accessing registered but freed timer)

12 years agompegts network_scan: move scanning structures back to network
Adam Sutton [Wed, 11 Jun 2014 02:35:11 +0000 (03:35 +0100)] 
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!

12 years agompegts network_scan: fix problem with active muxes being re-added to scan Q
Adam Sutton [Wed, 11 Jun 2014 00:02:22 +0000 (01:02 +0100)] 
mpegts network_scan: fix problem with active muxes being re-added to scan Q

12 years agotvhcsa_descramble: remove unused elementary_stream parameter
Jaroslav Kysela [Tue, 10 Jun 2014 21:21:11 +0000 (23:21 +0200)] 
tvhcsa_descramble: remove unused elementary_stream parameter

12 years agohttpc: use poll to check for the EINPROGRESS state
Jaroslav Kysela [Tue, 10 Jun 2014 21:09:03 +0000 (23:09 +0200)] 
httpc: use poll to check for the EINPROGRESS state

12 years agompegts network_scan: fix problems with having multiple networks
Adam Sutton [Tue, 10 Jun 2014 19:22:40 +0000 (20:22 +0100)] 
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.

12 years agohttpc: add checking for NULL scheme and host
Jaroslav Kysela [Tue, 10 Jun 2014 18:14:43 +0000 (20:14 +0200)] 
httpc: add checking for NULL scheme and host

12 years agocapmt: another 'mode 1' fix
Jaroslav Kysela [Tue, 10 Jun 2014 17:53:51 +0000 (19:53 +0200)] 
capmt: another 'mode 1' fix

12 years agocapmt: adapter index fix for 'mode 1'
Jaroslav Kysela [Tue, 10 Jun 2014 16:37:46 +0000 (18:37 +0200)] 
capmt: adapter index fix for 'mode 1'

12 years agoMakefile: Simplify (and probably fix) the ffdecsa rules
Jaroslav Kysela [Tue, 10 Jun 2014 16:29:38 +0000 (18:29 +0200)] 
Makefile: Simplify (and probably fix) the ffdecsa rules

12 years agoMerge pull request #422 from dmarion/osx
perexg [Tue, 10 Jun 2014 16:19:45 +0000 (18:19 +0200)] 
Merge pull request #422 from dmarion/osx

2 fixes to make it build-able on OS X

12 years agocapmt: fix capmt_pid_remove() by removing extra semicolon 422/head
Damjan Marion [Tue, 10 Jun 2014 16:04:40 +0000 (18:04 +0200)] 
capmt: fix capmt_pid_remove() by removing extra semicolon

Thanks to clang for notifying this.

12 years agofix building on OS X and FreeBSD
Damjan Marion [Tue, 10 Jun 2014 16:03:50 +0000 (18:03 +0200)] 
fix building on OS X and FreeBSD

12 years agolinuxdvb: Make advanced sat config hint more generic. 421/head
bluzee [Tue, 10 Jun 2014 13:46:37 +0000 (07:46 -0600)] 
linuxdvb: Make advanced sat config hint more generic.

12 years agohttpc: fix for the previous commit
Jaroslav Kysela [Tue, 10 Jun 2014 13:07:58 +0000 (15:07 +0200)] 
httpc: fix for the previous commit

12 years agohttpc: Add EINPROGRESS workaround for OSX
Jaroslav Kysela [Tue, 10 Jun 2014 13:02:34 +0000 (15:02 +0200)] 
httpc: Add EINPROGRESS workaround for OSX

12 years agocapmt: fix compilation without linuxdvb support
Jaroslav Kysela [Tue, 10 Jun 2014 12:51:14 +0000 (14:51 +0200)] 
capmt: fix compilation without linuxdvb support

12 years agompegts_mux_start: follow weight handling as for service, fix errors
Jaroslav Kysela [Tue, 10 Jun 2014 12:42:11 +0000 (14:42 +0200)] 
mpegts_mux_start: follow weight handling as for service, fix errors

12 years agoservice: find the tuner/source with the lowest weight for the override action
Jaroslav Kysela [Tue, 10 Jun 2014 12:23:18 +0000 (14:23 +0200)] 
service: find the tuner/source with the lowest weight for the override action

12 years agompegts: Add extra weight for inputs with more subscribers
Jaroslav Kysela [Mon, 26 May 2014 12:43:22 +0000 (14:43 +0200)] 
mpegts: Add extra weight for inputs with more subscribers

This simple code assures that the inputs having more subscribers
will be selected after ones with less subscribers.

12 years agorecode mpegts_mux_start() to follow rules as service_find_instance()
Jaroslav Kysela [Mon, 26 May 2014 12:26:11 +0000 (14:26 +0200)] 
recode mpegts_mux_start() to follow rules as service_find_instance()

12 years agoservice: handle input priority better
Jaroslav Kysela [Mon, 26 May 2014 11:09:23 +0000 (13:09 +0200)] 
service: handle input priority better

Ensure, that inputs with higher priorities are preferred.
The decision line is:

1) re-use input if the in-use mux matches
2) use a free input with highest priority
3) cancel the mux/input with smallest weight and use it for new

12 years agocapmt: fix wrong free() call
Jaroslav Kysela [Tue, 10 Jun 2014 11:37:04 +0000 (13:37 +0200)] 
capmt: fix wrong free() call

12 years agodescrambler: move some of the reader logic to the common code
Jaroslav Kysela [Mon, 9 Jun 2014 20:07:20 +0000 (22:07 +0200)] 
descrambler: move some of the reader logic to the common code

12 years agocapmt: fix the mutex deadlock in capmt_destroy()
Jaroslav Kysela [Mon, 9 Jun 2014 17:12:01 +0000 (19:12 +0200)] 
capmt: fix the mutex deadlock in capmt_destroy()

12 years agodescrambler: add time-based check for valid ECM key responses
Jaroslav Kysela [Mon, 9 Jun 2014 17:03:05 +0000 (19:03 +0200)] 
descrambler: add time-based check for valid ECM key responses

12 years agodescrambler: use buffer to make streaming of scrambled streams faster
Jaroslav Kysela [Mon, 9 Jun 2014 13:26:55 +0000 (15:26 +0200)] 
descrambler: use buffer to make streaming of scrambled streams faster

12 years agoservice.h: remove unused variable
Jaroslav Kysela [Mon, 9 Jun 2014 06:33:05 +0000 (08:33 +0200)] 
service.h: remove unused variable

12 years agodescrambler: filter equal ECM/EMM requests
Jaroslav Kysela [Sun, 8 Jun 2014 19:13:09 +0000 (21:13 +0200)] 
descrambler: filter equal ECM/EMM requests

12 years agodescrambler: introduce descrambler_keys()
Jaroslav Kysela [Sun, 8 Jun 2014 19:06:37 +0000 (21:06 +0200)] 
descrambler: introduce descrambler_keys()

12 years agompegts/descrambler: Introduce FAST TABLE for CA ECM processing
Jaroslav Kysela [Sun, 8 Jun 2014 12:47:57 +0000 (14:47 +0200)] 
mpegts/descrambler: Introduce FAST TABLE for CA ECM processing

- also change the capmt locking (get most of job outside global lock)

12 years agompegts: close_service - ignore SCT_CA streams
Jaroslav Kysela [Sat, 7 Jun 2014 09:21:17 +0000 (11:21 +0200)] 
mpegts: close_service - ignore SCT_CA streams

12 years agocwc: remove opaque structures
Jaroslav Kysela [Sat, 7 Jun 2014 09:19:38 +0000 (11:19 +0200)] 
cwc: remove opaque structures

12 years agodescrambler: improve/fix the emm locking
Jaroslav Kysela [Sat, 7 Jun 2014 07:31:32 +0000 (09:31 +0200)] 
descrambler: improve/fix the emm locking

12 years agocapmt/cwc/mpegts: change emm processing
Jaroslav Kysela [Fri, 6 Jun 2014 21:47:40 +0000 (23:47 +0200)] 
capmt/cwc/mpegts: change emm processing

12 years agocapmt/cwc/mpegts: descrambler changes - register CA PIDs on demand
Jaroslav Kysela [Fri, 6 Jun 2014 09:39:30 +0000 (11:39 +0200)] 
capmt/cwc/mpegts: descrambler changes - register CA PIDs on demand

- capmt code was a bit restructured again

12 years agocapmt: recode - use polling and write queue
Jaroslav Kysela [Thu, 5 Jun 2014 13:59:12 +0000 (15:59 +0200)] 
capmt: recode - use polling and write queue

12 years agocapmt: fixes for the adapter index
Jaroslav Kysela [Wed, 4 Jun 2014 10:49:01 +0000 (12:49 +0200)] 
capmt: fixes for the adapter index

12 years agocapmt: small cosmetic optimization
Jaroslav Kysela [Wed, 4 Jun 2014 07:31:22 +0000 (09:31 +0200)] 
capmt: small cosmetic optimization

12 years agocapmt: webui - we know the oscam revision for mode 4
Jaroslav Kysela [Wed, 4 Jun 2014 06:15:36 +0000 (08:15 +0200)] 
capmt: webui - we know the oscam revision for mode 4

12 years agocapmt: Improve docs for updated code
Jaroslav Kysela [Tue, 3 Jun 2014 19:05:20 +0000 (21:05 +0200)] 
capmt: Improve docs for updated code

12 years agocapmt: add support for the one socket mode (oscam)
Jaroslav Kysela [Tue, 3 Jun 2014 11:09:59 +0000 (13:09 +0200)] 
capmt: add support for the one socket mode (oscam)

12 years agoseparate capmt and cwc config
Jaroslav Kysela [Fri, 30 May 2014 11:38:29 +0000 (13:38 +0200)] 
separate capmt and cwc config

12 years agodescrambler: add descrambler_ca_section function
Jaroslav Kysela [Fri, 30 May 2014 11:02:52 +0000 (13:02 +0200)] 
descrambler: add descrambler_ca_section function

12 years agodecrambler: cosmetic (change tabs for spaces)
Jaroslav Kysela [Fri, 30 May 2014 07:45:58 +0000 (09:45 +0200)] 
decrambler: cosmetic (change tabs for spaces)

12 years agocwc: Fix the provider id print
Jaroslav Kysela [Fri, 30 May 2014 07:44:01 +0000 (09:44 +0200)] 
cwc: Fix the provider id print

12 years agodescrambler: add stop fcn and remove the loop from tsdemux
Jaroslav Kysela [Fri, 30 May 2014 07:39:49 +0000 (09:39 +0200)] 
descrambler: add stop fcn and remove the loop from tsdemux

12 years agodescrambler: Merge the common descrambler code - tvhcsa_descramble() calls
Jaroslav Kysela [Thu, 29 May 2014 14:08:02 +0000 (16:08 +0200)] 
descrambler: Merge the common descrambler code - tvhcsa_descramble() calls

12 years agocwc: Allocated cwc_providers member dynamically
Jaroslav Kysela [Thu, 29 May 2014 12:44:03 +0000 (14:44 +0200)] 
cwc: Allocated cwc_providers member dynamically

12 years agoimagecache: fix memory leak (skel)
Jaroslav Kysela [Tue, 10 Jun 2014 11:49:58 +0000 (13:49 +0200)] 
imagecache: fix memory leak (skel)

12 years agompegts_mux: fix the scan shutdown sequence for mux
Jaroslav Kysela [Tue, 10 Jun 2014 11:40:36 +0000 (13:40 +0200)] 
mpegts_mux: fix the scan shutdown sequence for mux

12 years agobuild: disable strict aliasing
Adam Sutton [Tue, 10 Jun 2014 09:57:45 +0000 (10:57 +0100)] 
build: disable strict aliasing

although can create a minor performance penalty it looks like many projects
disable this as strict aliasing can create annoying warnings that are not
always trivial to overcome at the expense of a relatively minor performance
improvement.

12 years agossl: fix cleanup
Adam Sutton [Tue, 10 Jun 2014 09:27:59 +0000 (10:27 +0100)] 
ssl: fix cleanup

12 years agolinuxdvb: Add hint to Advanced sat config so people can find C/Ku Band lnbs.
bluzee [Tue, 10 Jun 2014 02:33:40 +0000 (20:33 -0600)] 
linuxdvb: Add hint to Advanced sat config so people can find C/Ku Band lnbs.

12 years agolinuxdvb: Rename LNB Type Circular 10750 to Ku 10750
bluzee [Tue, 10 Jun 2014 02:28:55 +0000 (20:28 -0600)] 
linuxdvb: Rename LNB Type Circular 10750 to Ku 10750

12 years agompegts: fix possible recursion, causing strange crashes 417/head
Adam Sutton [Mon, 9 Jun 2014 20:13:22 +0000 (21:13 +0100)] 
mpegts: fix possible recursion, causing strange crashes

I'm not entirely sure what has changed that has made this a problem
where it apparently wasn't before. That being said, its not nice and
would previously have said it might cause undesirable side-effects.
I would have been right!

12 years agompegts: some minor debug changes
Adam Sutton [Mon, 9 Jun 2014 18:58:36 +0000 (19:58 +0100)] 
mpegts: some minor debug changes

12 years agompegts network_scan: fix queue ordering issue
Adam Sutton [Fri, 6 Jun 2014 09:09:38 +0000 (10:09 +0100)] 
mpegts network_scan: fix queue ordering issue

This was causing entries just complete (idle scan) to get re-added to the head!
Which ultimately resulted in only N entries ever getting serviced (where N is
the number of available tuners)

12 years agompegts network_scan: add proper enable/disable of mux and idle scan feature
Adam Sutton [Thu, 5 Jun 2014 21:53:36 +0000 (22:53 +0100)] 
mpegts network_scan: add proper enable/disable of mux and idle scan feature

12 years agompegts: improvements to the reworked network scanner
Adam Sutton [Thu, 5 Jun 2014 21:20:08 +0000 (22:20 +0100)] 
mpegts: improvements to the reworked network scanner

12 years agompegts network_scan: fix for failed tuning
Adam Sutton [Thu, 5 Jun 2014 18:07:22 +0000 (19:07 +0100)] 
mpegts network_scan: fix for failed tuning