]> git.ipfire.org Git - thirdparty/tvheadend.git/log
thirdparty/tvheadend.git
8 years agohttp: The MSG_MORE flag is not available on FreeBSD or Darwin.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)] 
http: The MSG_MORE flag is not available on FreeBSD or Darwin.

Added a compatibility definition in compat.h.

8 years agoOn FreeBSD bswap_*() macros are now correctly mapped to the BSD bswap*() calls.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)] 
On FreeBSD bswap_*() macros are now correctly mapped to the BSD bswap*() calls.

8 years agoFixed compiler warning about unused function.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)] 
Fixed compiler warning about unused function.

keystr() is only needed when DEBUG2 is defined, so it's now wrapped in #ifdef

8 years agoFixed const correctness in bonjour code.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)] 
Fixed const correctness in bonjour code.

8 years agoFixed linking errors when bonjour was enabled.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)] 
Fixed linking errors when bonjour was enabled.

SRCS-yes was reset when bonjour sources should have been added, and all previously added sources didn't get linked.

8 years agodescrambler: another attempt to fix the inlined non-scrambled data for pvu, issue...
Jaroslav Kysela [Wed, 29 Nov 2017 19:53:19 +0000 (20:53 +0100)] 
descrambler: another attempt to fix the inlined non-scrambled data for pvu, issue #4749

8 years agoavahi/bonjour: fix thinkos and typos
Jaroslav Kysela [Wed, 29 Nov 2017 09:56:46 +0000 (10:56 +0100)] 
avahi/bonjour: fix thinkos and typos

8 years agoSAT>IP server: fix typo in the previous patch
Jaroslav Kysela [Wed, 29 Nov 2017 09:50:47 +0000 (10:50 +0100)] 
SAT>IP server: fix typo in the previous patch

8 years agoSAT>IP server: add configuration to limit maximal count of sessions and user connecti...
Jaroslav Kysela [Wed, 29 Nov 2017 09:48:19 +0000 (10:48 +0100)] 
SAT>IP server: add configuration to limit maximal count of sessions and user connections, fixes #4735

From: Mono Polimorph

8 years agoallow to disable http/htsp servers (set TCP port to zero), fixes #4734
Jaroslav Kysela [Wed, 29 Nov 2017 09:43:03 +0000 (10:43 +0100)] 
allow to disable http/htsp servers (set TCP port to zero), fixes #4734

From: Mono Polimorph

8 years agohttp: Increase maxage for caching for images. (#4594).
E.Smith [Sun, 26 Nov 2017 13:39:19 +0000 (13:39 +0000)] 
http: Increase maxage for caching for images. (#4594).

Images were previously cached for 10 seconds. Since images
rarely change and we now use icons for categories in the epg
grid, it makes sense to cache them at the client for longer.

Issue: #4594.

8 years agoui: Use Google Noto Color Emoji for icons for categories/genres. (#4594).
E.Smith [Sun, 26 Nov 2017 13:24:44 +0000 (13:24 +0000)] 
ui: Use Google Noto Color Emoji for icons for categories/genres. (#4594).

By default, several Linux distributions do not install and use fonts
with the characters we were using for our icons. So we replace them
with pre-rendered png images from Google Noto Color Emoji. We use the
png images (instead of the font) to ensure better compatibility between
different browsers and OSes.

The pre-generated icons are under an Apache 2.0 licence, which is a
different licence to the ttf font (that we don't use) which is a
SIL Open Font licence.

The names of the files are based on the unicode naming convention.

Issue: #4594.

8 years agodescrambler: fix multipid descrambling (non-scrambled TS packets)
Jaroslav Kysela [Wed, 29 Nov 2017 09:29:03 +0000 (10:29 +0100)] 
descrambler: fix multipid descrambling (non-scrambled TS packets)

8 years agoRevert "debian: bump debhelper compat level"
mpmc [Sun, 26 Nov 2017 14:01:54 +0000 (14:01 +0000)] 
Revert "debian: bump debhelper compat level"

This reverts commit 698e74bc7c94ab467bc1e912990af2311a178604.

fixes #4740

8 years agodvbcam: Fix NULL pointer usage
Jasmin Jessich [Sun, 26 Nov 2017 02:42:44 +0000 (03:42 +0100)] 
dvbcam: Fix NULL pointer usage

When there is already a CAM assigned to the service, we jump to
update_pid. In commit 7f81d726af1f92b268d031c08cf5d00f0f77a4c6 a
tvhtrace call which prints the CAM name has been added. The name
is accessed by "ac->ca->lca_name", which requires ac set to a
proper value.
This commit adds the ac setting before it jumps to "update_pid".

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
8 years agoui: Ensure 'new' is checked correctly (#4594).
E.Smith [Sat, 25 Nov 2017 09:38:44 +0000 (09:38 +0000)] 
ui: Ensure 'new' is checked correctly (#4594).

Previously we used rec.new and that appeared to cause problems
in some browsers. So now we check that new is in the record
and that it is non-zero.

Issue: #4594.

8 years agoui: Fallback to genre mapping if category mapping fails. (#4594)
E.Smith [Thu, 23 Nov 2017 14:54:24 +0000 (14:54 +0000)] 
ui: Fallback to genre mapping if category mapping fails. (#4594)

Previously we would map categories or map genres if we had no
categories.

Now we will also map genres if the category mappings fail to generate
any mappings. Current known category mapping always supply 'movie',
'series' or 'sports' so this should not happen.

Issue: #4594.

8 years agocapmt: DVN ECM changes, issue #4728
Jaroslav Kysela [Fri, 24 Nov 2017 08:35:49 +0000 (09:35 +0100)] 
capmt: DVN ECM changes, issue #4728

8 years agodescrambler: caid - add DVN and TONGFANG
Jaroslav Kysela [Fri, 24 Nov 2017 08:00:38 +0000 (09:00 +0100)] 
descrambler: caid - add DVN and TONGFANG

8 years agodvbcam: Fixed saving of a cleared dvbcam caid_list (from WEB UI)
Jasmin Jessich [Thu, 23 Nov 2017 21:53:34 +0000 (22:53 +0100)] 
dvbcam: Fixed saving of a cleared dvbcam caid_list (from WEB UI)

caclient_dvbcam_class_caid_list_set didn't count the existing entries in the
dvbcam caid_list. Thus, it couldn't check if the old and the new list size
differ. This was only a problem when the list was cleared, because the
change flag was not set in this case and the empty list was not saved.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
8 years agodvbcam: fix the all CAIDs selection (without filter)
Jaroslav Kysela [Thu, 23 Nov 2017 22:25:41 +0000 (23:25 +0100)] 
dvbcam: fix the all CAIDs selection (without filter)

8 years agoui: Don't display subtitle if it is same as summary. (#4594).
E.Smith [Wed, 22 Nov 2017 10:54:03 +0000 (10:54 +0000)] 
ui: Don't display subtitle if it is same as summary. (#4594).

Some OTA don't have a separate sub-title and description/summary
so if they are the same then don't display it as a sub-title since
the description is often long.

Issue: #4594.

8 years agoui: Add category/genre/new icons and more details (#4594).
E.Smith [Sat, 18 Nov 2017 17:14:52 +0000 (17:14 +0000)] 
ui: Add category/genre/new icons and more details (#4594).

We now display a separate column indicating if a programme is
new. This column also contains icons indicating the programme type
based on the category (from xmltv) or genre (from OTA).

This uses characters rather than icons since most modern fonts
supply glyphs that we can use. We avoid using too-modern glyphs
(such as Unicode-9.0, 2016) and try to use older ones that are
likely to be in Windows 7 or later. Unfortunately there is no
easy way to determine if a particular system contains a glyph,
but most systems revert to another font if necessary.

Also added a number of new details to the dialogs for EPG and DVR
to display previously shown time and cast/credit/keyword details
for DVR upcoming.

Additionally we display "Film (yyyy)" instead of "Film" if we
have the details to help the user differentiate remakes.

Issue: #4594.

8 years agoapi: Use same name copyright_year for EPG and DVR. (#4594).
E.Smith [Wed, 22 Nov 2017 13:32:31 +0000 (13:32 +0000)] 
api: Use same name copyright_year for EPG and DVR. (#4594).

Previously the UI EPG used copyrightYear to be consistent with
the htsp naming convention, however since DVR uses the field
name of copyright_year, it makes sense to rename the UI EPG
component name.

Issue: #4594.

8 years agoeit: Add regex scraper for detecting new programmes in OTA. (#4594).
E.Smith [Wed, 22 Nov 2017 11:30:17 +0000 (11:30 +0000)] 
eit: Add regex scraper for detecting new programmes in OTA. (#4594).

Issue: #4594.

8 years agoeit: Four digit regex is copyright_year not air date. (#4594).
E.Smith [Wed, 22 Nov 2017 13:33:23 +0000 (13:33 +0000)] 
eit: Four digit regex is copyright_year not air date. (#4594).

Previously we parsed is as a first_airdate since the copyright_date
field didn't exist. However, now the copyright_date field exists in
the EPG it makes more sense to populate this with the four-digit
year.

Issue: #4594.

8 years agoxmltv: Handle substring timestamps. (#4594)
E.Smith [Sun, 19 Nov 2017 13:32:39 +0000 (13:32 +0000)] 
xmltv: Handle substring timestamps. (#4594)

The DTD spec says that timestamps can be substrings. These
are typically used when specifying a previously-shown date
where it only has they YYYYMMDD and not the HHMMSS.

So we now parse these correctly which ensures we correctly
set the previously shown timestamp.

Issue: #4594.

8 years agodvr: Send genre to the UI for DVR. (#4594)
E.Smith [Tue, 21 Nov 2017 13:41:54 +0000 (13:41 +0000)] 
dvr: Send genre to the UI for DVR. (#4594)

Issue: #4594.

8 years agodvr: Send first_aired to the UI for EPG/DVR. (#4594).
E.Smith [Sun, 19 Nov 2017 13:48:54 +0000 (13:48 +0000)] 
dvr: Send first_aired to the UI for EPG/DVR. (#4594).

Issue: #4594.

8 years agodvr: Send credits, category and keywords to UI for DVR (#4594).
E.Smith [Sun, 19 Nov 2017 11:17:13 +0000 (11:17 +0000)] 
dvr: Send credits, category and keywords to UI for DVR (#4594).

Issue: #4594.

8 years agodebian: add a note to tvheadend.default explaining where to add/edit args
mpmc [Wed, 22 Nov 2017 15:25:09 +0000 (15:25 +0000)] 
debian: add a note to tvheadend.default explaining where to add/edit args

8 years agodvbcam: fix typo ECM -> EMM
Jaroslav Kysela [Thu, 23 Nov 2017 07:59:31 +0000 (08:59 +0100)] 
dvbcam: fix typo ECM -> EMM

8 years agodvbcam: fix obvious bugs, add more logging
Jaroslav Kysela [Thu, 23 Nov 2017 07:53:19 +0000 (08:53 +0100)] 
dvbcam: fix obvious bugs, add more logging

8 years agolinuxdvb_ca: use lca_name for logs
Jaroslav Kysela [Thu, 23 Nov 2017 07:45:40 +0000 (08:45 +0100)] 
linuxdvb_ca: use lca_name for logs

8 years agodvbcam: fix compilation
Jaroslav Kysela [Wed, 22 Nov 2017 10:48:52 +0000 (11:48 +0100)] 
dvbcam: fix compilation

8 years agodvbcam: implement more CAID filtering / selection
Jaroslav Kysela [Wed, 22 Nov 2017 10:45:26 +0000 (11:45 +0100)] 
dvbcam: implement more CAID filtering / selection

8 years agohttp: add http_check_local_ip() for SAT>IP server, fixes #4692
Jaroslav Kysela [Wed, 22 Nov 2017 08:09:08 +0000 (09:09 +0100)] 
http: add http_check_local_ip() for SAT>IP server, fixes #4692

8 years agodvbcam: use forcecaid settings per service
Jaroslav Kysela [Wed, 22 Nov 2017 07:14:29 +0000 (08:14 +0100)] 
dvbcam: use forcecaid settings per service

8 years agodvbcam: fix allocated_programs handling
Jaroslav Kysela [Tue, 21 Nov 2017 19:03:53 +0000 (20:03 +0100)] 
dvbcam: fix allocated_programs handling

8 years agodvbcam: fix crash (NULL dereference)
Jaroslav Kysela [Tue, 21 Nov 2017 19:00:05 +0000 (20:00 +0100)] 
dvbcam: fix crash (NULL dereference)

8 years agodebian: add initial systemd service file & unset admin user/pass on purge
mpmc [Tue, 21 Nov 2017 11:48:20 +0000 (11:48 +0000)] 
debian: add initial systemd service file & unset admin user/pass on purge

Many thanks to bodhi zazen for the tips!

8 years agodebian: bump debhelper compat level
mpmc [Mon, 20 Nov 2017 18:06:50 +0000 (18:06 +0000)] 
debian: bump debhelper compat level

8 years agodvbcam: fix reverted condition
Jaroslav Kysela [Tue, 21 Nov 2017 18:44:32 +0000 (19:44 +0100)] 
dvbcam: fix reverted condition

8 years agotcp: ip_check_is_local_address() fix the error path
Jaroslav Kysela [Tue, 21 Nov 2017 18:34:55 +0000 (19:34 +0100)] 
tcp: ip_check_is_local_address() fix the error path

8 years agoSAT>IP server: more NAT addr cleanups 2nd, issue #4692
Jaroslav Kysela [Tue, 21 Nov 2017 18:30:05 +0000 (19:30 +0100)] 
SAT>IP server: more NAT addr cleanups 2nd, issue #4692

8 years agoSAT>IP server: more NAT addr cleanups, issue #4692
Jaroslav Kysela [Tue, 21 Nov 2017 17:22:13 +0000 (18:22 +0100)] 
SAT>IP server: more NAT addr cleanups, issue #4692

8 years agotsdemux: pass always all data through descrambler, if the scrambling is active
Jaroslav Kysela [Tue, 21 Nov 2017 15:46:24 +0000 (16:46 +0100)] 
tsdemux: pass always all data through descrambler, if the scrambling is active

8 years agoservice: elementary streams - cleanups, add modify, destroy functions
Jaroslav Kysela [Tue, 21 Nov 2017 15:43:16 +0000 (16:43 +0100)] 
service: elementary streams - cleanups, add modify, destroy functions

8 years agotsremux: parse always HBBTV info
Jaroslav Kysela [Mon, 11 Sep 2017 15:16:41 +0000 (17:16 +0200)] 
tsremux: parse always HBBTV info

8 years agoSAT>IP server: cleanups for addr/port send to clients (NAT) 2nd
Jaroslav Kysela [Tue, 21 Nov 2017 10:11:50 +0000 (11:11 +0100)] 
SAT>IP server: cleanups for addr/port send to clients (NAT) 2nd

8 years agompegts: fix mpegts_input_cat_pass_callback - remove es
Jaroslav Kysela [Tue, 21 Nov 2017 10:08:08 +0000 (11:08 +0100)] 
mpegts: fix mpegts_input_cat_pass_callback - remove es

8 years agoSAT>IP server: cleanups for addr/port send to clients (NAT)
Jaroslav Kysela [Tue, 21 Nov 2017 10:02:17 +0000 (11:02 +0100)] 
SAT>IP server: cleanups for addr/port send to clients (NAT)

8 years agotcp: cleanups for ip_check functions
Jaroslav Kysela [Tue, 21 Nov 2017 09:37:49 +0000 (10:37 +0100)] 
tcp: cleanups for ip_check functions

8 years agoSAT>IP server: show correct IP in RTSP messages for NAT
Jaroslav Kysela [Tue, 21 Nov 2017 08:08:03 +0000 (09:08 +0100)] 
SAT>IP server: show correct IP in RTSP messages for NAT

From: Mono Polimorph

8 years agodescrambler: add DS_FATAL state, handle better TSS_NO_DESCRAMBLER flag
Jaroslav Kysela [Tue, 21 Nov 2017 07:40:18 +0000 (08:40 +0100)] 
descrambler: add DS_FATAL state, handle better TSS_NO_DESCRAMBLER flag

8 years agodvbcam: ddci - fixes in CAT callback
Jaroslav Kysela [Tue, 21 Nov 2017 06:59:16 +0000 (07:59 +0100)] 
dvbcam: ddci - fixes in CAT callback

8 years agompegts: fix mpegts_input_cat_pass_callback - remove caids
Jaroslav Kysela [Tue, 21 Nov 2017 06:54:19 +0000 (07:54 +0100)] 
mpegts: fix mpegts_input_cat_pass_callback - remove caids

8 years agodvbcam: use better check for the concurrent service decoding
Jaroslav Kysela [Mon, 20 Nov 2017 16:21:52 +0000 (17:21 +0100)] 
dvbcam: use better check for the concurrent service decoding

8 years agodvbcam: do not set TSS_NO_DESCRAMBLER flag, it breaks other caclients
Jaroslav Kysela [Mon, 20 Nov 2017 16:09:47 +0000 (17:09 +0100)] 
dvbcam: do not set TSS_NO_DESCRAMBLER flag, it breaks other caclients

8 years agoservice: rebuild shared PCR 'stream' on load, too
Jaroslav Kysela [Mon, 20 Nov 2017 15:15:17 +0000 (16:15 +0100)] 
service: rebuild shared PCR 'stream' on load, too

8 years agoservice dialog: filter our PCR streams (dup), print CAIDs for CAT type, too
Jaroslav Kysela [Mon, 20 Nov 2017 15:11:43 +0000 (16:11 +0100)] 
service dialog: filter our PCR streams (dup), print CAIDs for CAT type, too

8 years agotsdemux: fix the wrong PAT/PMT/EIT filter (commit 52afeb68b23cfc611aade4b66a0a0d3dd51...
Jaroslav Kysela [Mon, 20 Nov 2017 15:05:19 +0000 (16:05 +0100)] 
tsdemux: fix the wrong PAT/PMT/EIT filter (commit 52afeb68b23cfc611aade4b66a0a0d3dd51ee753)

8 years agodvbcam: try to put back the service limit (now per one CAM)
Jaroslav Kysela [Mon, 20 Nov 2017 14:16:04 +0000 (15:16 +0100)] 
dvbcam: try to put back the service limit (now per one CAM)

8 years agodvbcam: ddci - reimplement end: label correctly
Jaroslav Kysela [Mon, 20 Nov 2017 14:09:21 +0000 (15:09 +0100)] 
dvbcam: ddci - reimplement end: label correctly

8 years agodvbcam: ddci - use cac_cat_update callback instead monitor for all EMM PIDs
Jaroslav Kysela [Mon, 20 Nov 2017 14:07:36 +0000 (15:07 +0100)] 
dvbcam: ddci - use cac_cat_update callback instead monitor for all EMM PIDs

8 years agodescrambler: remove redundant code in descrambler_cat_data()
Jaroslav Kysela [Mon, 20 Nov 2017 13:58:11 +0000 (14:58 +0100)] 
descrambler: remove redundant code in descrambler_cat_data()

8 years agocaclient: add caclient_cat_update() function (and callback)
Jaroslav Kysela [Mon, 20 Nov 2017 09:32:08 +0000 (10:32 +0100)] 
caclient: add caclient_cat_update() function (and callback)

8 years agodvbcam: ddci - use mpegts_apids_t instead own implementation for ECM PIDs
Jaroslav Kysela [Mon, 20 Nov 2017 09:31:36 +0000 (10:31 +0100)] 
dvbcam: ddci - use mpegts_apids_t instead own implementation for ECM PIDs

8 years agoFixed compilation with disabled DD CI support
Jasmin Jessich [Mon, 20 Nov 2017 00:30:30 +0000 (01:30 +0100)] 
Fixed compilation with disabled DD CI support

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
8 years agoAdded ECM PIDs subscribing
Jasmin Jessich [Sat, 18 Nov 2017 01:38:51 +0000 (02:38 +0100)] 
Added ECM PIDs subscribing

- dvbcam_service_start can be now executed repeatedly. This happens due to
  PMT changes (e.g.: CA descriptor change).
- Limit check in dvbcam removed, because this needs to be done per CAM.
- Currently 16 ECM PIDs can be stored.
- CAID change handler is still missing.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
8 years agoRemove mpegts_input_open_service_pid
Jasmin Jessich [Sun, 19 Nov 2017 23:20:10 +0000 (00:20 +0100)] 
Remove mpegts_input_open_service_pid

- When dvbcam_service_start is executed the first time c->pid is 0.
  dvbcam_service_start is not executed a second time, so it makes
  no sense to subscribe the PAT for the CAM.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
8 years agompegts: cat monitor - manage correctly EMM PID list
Jaroslav Kysela [Sat, 18 Nov 2017 17:11:00 +0000 (18:11 +0100)] 
mpegts: cat monitor - manage correctly EMM PID list

8 years agodvbcam: ddci - open cat monitor outside mutexes
Jaroslav Kysela [Sat, 18 Nov 2017 07:54:51 +0000 (08:54 +0100)] 
dvbcam: ddci - open cat monitor outside mutexes

8 years agodvbcam: open also CAT PID for streaming
Jaroslav Kysela [Fri, 17 Nov 2017 18:11:23 +0000 (19:11 +0100)] 
dvbcam: open also CAT PID for streaming

8 years agompegts: add mpegts_input_open_cat_monitor() for ddci
Jaroslav Kysela [Fri, 17 Nov 2017 17:54:55 +0000 (18:54 +0100)] 
mpegts: add mpegts_input_open_cat_monitor() for ddci

8 years agoapi: Add api convenience call for renaming channels. (#4715).
E.Smith [Thu, 16 Nov 2017 11:20:52 +0000 (11:20 +0000)] 
api: Add api convenience call for renaming channels. (#4715).

Add a convenience function for users to rename all channels
that match a particular name. Previously the caller needed
to parse an api/channel/list, extract each channel that
matched the name and then issue an idnode/save for the nodes.

This change allows people to easily fixup their names such as
updating channels that are broadcast with a lowercase name
(and so sort to the end of the list in many UIs); or prefixing
the channels with identifiers. Since the server does the channel
name lookup, it allows non-programmers to issue simple renames
from a script.

curl http://l:9981/api/channel/rename --data-urlencode 'from=dave' --data-urlencode 'to=Dave'

Issue: #4715.

8 years agochannel: Allow HD/UHD suffix on channels to be stripped. (#4715)
E.Smith [Wed, 15 Nov 2017 23:42:10 +0000 (23:42 +0000)] 
channel: Allow HD/UHD suffix on channels to be stripped. (#4715)

Issue: #4715.

8 years agoStrip trailing UHD when making fuzzy match name (#4709)
E.Smith [Wed, 15 Nov 2017 22:07:09 +0000 (22:07 +0000)] 
Strip trailing UHD when making fuzzy match name (#4709)

Issue: #4709.

8 years agochannel: Allow merging on bouquet. (#4714).
E.Smith [Wed, 15 Nov 2017 14:03:28 +0000 (14:03 +0000)] 
channel: Allow merging on bouquet. (#4714).

Previously the merging of channels with the same name
on a bouquet did not work since we explicitly excluded
these channels from the merge logic.

So we now allow finding channels on a specific bouquet
and merging and fuzzy merging them.

Issue: #4714.

8 years agochannel: Allow fuzzy name matching for bouquets. (#4714).
E.Smith [Fri, 10 Nov 2017 21:30:20 +0000 (21:30 +0000)] 
channel: Allow fuzzy name matching for bouquets. (#4714).

Issue: #4714.

8 years agodescrambler: fix the code logic for s_dvb_forcecaid == 0xffff
Jaroslav Kysela [Thu, 16 Nov 2017 13:18:40 +0000 (14:18 +0100)] 
descrambler: fix the code logic for s_dvb_forcecaid == 0xffff

8 years agoddci: try to fix open_pid locking
Jaroslav Kysela [Thu, 16 Nov 2017 13:13:16 +0000 (14:13 +0100)] 
ddci: try to fix open_pid locking

8 years agoprofile: set 'Switch to another service' to on as default
Jaroslav Kysela [Thu, 16 Nov 2017 13:09:01 +0000 (14:09 +0100)] 
profile: set 'Switch to another service' to on as default

8 years agodescrambler: tiny optimization
Jaroslav Kysela [Thu, 16 Nov 2017 12:58:22 +0000 (13:58 +0100)] 
descrambler: tiny optimization

8 years agodescrambler: remove dr_external and use dr_descramble instead
Jaroslav Kysela [Thu, 16 Nov 2017 12:57:35 +0000 (13:57 +0100)] 
descrambler: remove dr_external and use dr_descramble instead

8 years agoddci: open only required ECM PIDs
Jaroslav Kysela [Thu, 16 Nov 2017 12:31:38 +0000 (13:31 +0100)] 
ddci: open only required ECM PIDs

8 years agotsdemux: remove ddci code, pass ECM PIDs to descrambler_descramble() unconditionally
Jaroslav Kysela [Thu, 16 Nov 2017 10:06:12 +0000 (11:06 +0100)] 
tsdemux: remove ddci code, pass ECM PIDs to descrambler_descramble() unconditionally

8 years agoMake DD CI functional
Jasmin Jessich [Sun, 12 Nov 2017 17:07:13 +0000 (18:07 +0100)] 
Make DD CI functional

- Extend dvbcam_ca_lookup to support DD CI.
- Allow currently only one DD CI per service.
- Attach a new descrambler function to dr_descramble.
- New function dvbcam_is_ddci to be used by mpegts.
- Fixed a memory leak in dvbcam_service_destroy.
- Select CA PIDs if a DD CI is attached to a service.
- Forward CA PIDs to the descrambler in ts_recv_packet1, if it is a DD CI.
- Do not forward CA PIDs to the transport stream (after reading them from
  DD CI) in ts_recv_packet0.
- Fixed typo in mpegts.h.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
8 years agoAdded DDCI detection and creation
Jasmin Jessich [Sun, 12 Nov 2017 16:50:33 +0000 (17:50 +0100)] 
Added DDCI detection and creation

- Check if a device ciX or secX exists.
- Create also the DD CI structure, if one of the ci pathes have been found.
- Open and close the DD CI in linuxdvb_ca_class_enabled_notify.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
8 years agoAdded DD CI support into new file
Jasmin Jessich [Sun, 12 Nov 2017 16:04:02 +0000 (17:04 +0100)] 
Added DD CI support into new file

- New file linuxdvb_ddci.c
- DD CI related data are stored in a separate structure (struct
  linuxdvb_ddci).
- struct linuxdvb_ca stores a pointer to the new DD CI data structure
  which gets allocated, if a DD CI exists (see next commit).
- Added logging subsystem LS_DDCI.
- Compile linuxdvb_ddci.c if DD CI is enabled.
- Added config option ddci.

Signed-off-by: Jasmin Jessich <jasmin@anw.at>
8 years agoconfigure: Fix libsystemd dependency for Stretch and later
Sam Nazarko [Thu, 16 Nov 2017 05:03:29 +0000 (05:03 +0000)] 
configure: Fix libsystemd dependency for Stretch and later

Signed-off-by: Sam Nazarko <email@samnazarko.co.uk>
8 years agohtsp server: don't use static char array for channelIcon
Jaroslav Kysela [Wed, 15 Nov 2017 18:38:53 +0000 (19:38 +0100)] 
htsp server: don't use static char array for channelIcon

8 years agotranscode: the recent change for conditional transcoding caused a regression, fixes...
Jaroslav Kysela [Wed, 15 Nov 2017 18:14:24 +0000 (19:14 +0100)] 
transcode: the recent change for conditional transcoding caused a regression, fixes #4726

8 years agoservice: handle better preferred video types for the service selection
Jaroslav Kysela [Wed, 15 Nov 2017 11:17:33 +0000 (12:17 +0100)] 
service: handle better preferred video types for the service selection

- use free inputs when preferred inputs are busy
- add UHD->HD fallback and SD->HD fallback

8 years agoconfigure: print iconv selection explanation
Jaroslav Kysela [Mon, 13 Nov 2017 12:57:24 +0000 (13:57 +0100)] 
configure: print iconv selection explanation

8 years agocapmt_ca: missing typedef
Jaroslav Kysela [Mon, 13 Nov 2017 09:03:37 +0000 (10:03 +0100)] 
capmt_ca: missing typedef

8 years agocapmt_ca: fix compilation (does anyone use this?)
Jaroslav Kysela [Mon, 13 Nov 2017 07:33:12 +0000 (08:33 +0100)] 
capmt_ca: fix compilation (does anyone use this?)

8 years agoprofile: fix typo (and remember to recompile things after each changes -perexg),...
Jaroslav Kysela [Mon, 13 Nov 2017 07:15:37 +0000 (08:15 +0100)] 
profile: fix typo (and remember to recompile things after each changes -perexg), issue #4721

8 years agoprofile: print an error when the profile is problematic, issue #4721
Jaroslav Kysela [Sun, 12 Nov 2017 17:40:40 +0000 (18:40 +0100)] 
profile: print an error when the profile is problematic, issue #4721

8 years agompegts: add full DTMB network/mux support, issue #4717
Jaroslav Kysela [Fri, 10 Nov 2017 09:05:03 +0000 (10:05 +0100)] 
mpegts: add full DTMB network/mux support, issue #4717