Commit graph

4649 commits

Author SHA1 Message Date
Jaroslav Kysela
09e59d2f83 Remove PRIsize_t, PRIssize_t and PRIoff_t
The reason is that size_t and ssize_t are covered by %zu and %zd
format specifiers. The offset can be printed using %jd format
with the (intmax_t) type conversion.
2014-08-01 11:55:52 +02:00
perexg
d26ccbdbed Merge pull request #438 from dreamcat4/freebsd
Fix FreeBSD compiler errors.
2014-08-01 11:52:17 +02:00
Dreamcat4
cb63d4950a Put back project headers. From before to after the global includes. 2014-08-01 10:46:39 +01:00
Dreamcat4
65c91f433b Merge remote-tracking branch 'upstream/master' into freebsd
* upstream/master:
  service: add PMT# for noname services and include full service name in service lists
  service: esfilter - set CA use flag also for skipped types
  service: esfilter - set use flag when no filters are applied
  service: show also network name in the service nicename
  esfilter: add logical stream index, enhance the CA type filtering
2014-08-01 09:02:41 +01:00
Jaroslav Kysela
43253f88c0 service: add PMT# for noname services and include full service name in service lists 2014-07-31 21:11:18 +02:00
Jaroslav Kysela
ea7a93b776 service: esfilter - set CA use flag also for skipped types 2014-07-31 17:45:10 +02:00
Jaroslav Kysela
45492bfa77 service: esfilter - set use flag when no filters are applied 2014-07-31 17:45:01 +02:00
Jaroslav Kysela
b6bd2400eb service: show also network name in the service nicename 2014-07-31 11:50:39 +02:00
Jaroslav Kysela
a1811747d2 esfilter: add logical stream index, enhance the CA type filtering
- add the logical stream index - see help
- add the PID filtering for the CA type
- fix the service info dialog (do not show some filtered CAIDs)
2014-07-31 11:36:25 +02:00
Dreamcat4
c168cb3adc Merge remote-tracking branch 'upstream/master' into freebsd
* upstream/master:
  mpegts service: Add documentation for Lock Pref. CA PID
  cwc: little log fix (auto-reconnect)...
  mpegts dvb service: add CA PID filter (lock) mode 2 to force CA PID
  service: fix some compiler warnings
  cwc/mpegts dvb service: prevent auto-changes for prefcaid (see issue #2075)
  cwc: change the multiple CA PID handling
2014-07-30 20:15:33 +01:00
Dreamcat4
1af984c668 FreeBSD 2/X Fix path for dtv-scan-tables 2014-07-30 20:14:37 +01:00
Jaroslav Kysela
8ca95e9d79 mpegts service: Add documentation for Lock Pref. CA PID 2014-07-30 20:10:10 +02:00
Jaroslav Kysela
a621a5aa92 cwc: little log fix (auto-reconnect)... 2014-07-30 19:33:59 +02:00
Jaroslav Kysela
b611d69fdc mpegts dvb service: add CA PID filter (lock) mode 2 to force CA PID
- works for both cwc and capmt
2014-07-30 18:19:55 +02:00
Jaroslav Kysela
07e2ad24ac service: fix some compiler warnings 2014-07-30 17:49:56 +02:00
Jaroslav Kysela
e665969dfa cwc/mpegts dvb service: prevent auto-changes for prefcaid (see issue #2075) 2014-07-30 17:49:35 +02:00
Jaroslav Kysela
64c4a2d87c cwc: change the multiple CA PID handling 2014-07-30 17:33:44 +02:00
Dreamcat4
156b24a00f Merge remote-tracking branch 'upstream/master' into freebsd
* upstream/master:
  webui: enable file logging when the log file is set through GUI
  webui: remove dead code (tvhlog_level)
  webui: Stream directly for TVHeadend/ http client, too
  epggrab: ota - improve save caching and add no data timeout
  epggrab: ota - optimize the eit/opentv workflow
  epggrab: ota - requeue skipped muxes (network check)
  SAT>IP: finish the RTSP OPTIONS command to keep connection consistent
  SAT>IP: finish the RTSP command to keep connection consistent
  capmt: a slight optimization - remove the key data
  service_mapper: remove include "plumbing/tsfix.h"
  descrambler: add other odd/even key validity check based on the key update time
  capmt: do not cache keys for the descrambler layer
2014-07-30 15:47:05 +01:00
Dreamcat4
974bbcb4d6 FreeBSD 1/X - Fix compiler errors 2014-07-30 15:46:18 +01:00
Jaroslav Kysela
166a9504f0 webui: enable file logging when the log file is set through GUI 2014-07-30 12:39:31 +02:00
Jaroslav Kysela
5c250565e1 webui: remove dead code (tvhlog_level) 2014-07-30 12:38:29 +02:00
Jaroslav Kysela
b3ef094128 webui: Stream directly for TVHeadend/ http client, too 2014-07-30 12:23:41 +02:00
Jaroslav Kysela
edbc0771c5 epggrab: ota - improve save caching and add no data timeout
- fix the complete flag load
- improve the save request caching
- mark as completed all timeout states (no data, EPG timeout)
2014-07-30 12:09:41 +02:00
Jaroslav Kysela
0df3819a17 epggrab: ota - optimize the eit/opentv workflow
Assume that the EPG grab is completed when:

- no EIT data are present and opentv completed
- EIT data are present but opentv data were not seen
2014-07-30 12:09:34 +02:00
Jaroslav Kysela
2141112aac epggrab: ota - requeue skipped muxes (network check)
- enhance trace
- do not print delete problem? messages on shutdown
2014-07-30 12:09:27 +02:00
Jaroslav Kysela
854327aaba SAT>IP: finish the RTSP OPTIONS command to keep connection consistent 2014-07-28 18:31:38 +02:00
Jaroslav Kysela
9a6940cec3 SAT>IP: finish the RTSP command to keep connection consistent 2014-07-28 17:37:12 +02:00
Jaroslav Kysela
bb1a128cfd capmt: a slight optimization - remove the key data 2014-07-28 12:59:39 +02:00
Jaroslav Kysela
4faa4418cd service_mapper: remove include "plumbing/tsfix.h" 2014-07-28 12:50:50 +02:00
Jaroslav Kysela
4d8aa37dbc descrambler: add other odd/even key validity check based on the key update time 2014-07-28 12:24:38 +02:00
Jaroslav Kysela
3400ee8603 capmt: do not cache keys for the descrambler layer 2014-07-28 12:23:40 +02:00
Jaroslav Kysela
9b4165296b subscription: Add watchdog for the data reception
.. for sevices and add the timeout timer for the mux subscriptions
2014-07-27 16:18:53 +02:00
Jaroslav Kysela
65facb3fc4 SAT>IP: set the teardown timeout to 500ms 2014-07-27 16:17:43 +02:00
Jaroslav Kysela
ea02c4368a mpegts tables: fix another table list inconsistency 2014-07-27 16:05:20 +02:00
Jaroslav Kysela
52e5d7ff3f mpegts table destroy: move the data free calls to the release routine 2014-07-26 15:16:13 +02:00
Jaroslav Kysela
98473cd229 mpegts tables: fix the deferred tables locking mechanism 2014-07-25 20:53:34 +02:00
Dave Chapman
f72733ff08 Add the 0x80 stream type for DigiCipher II (North American cable) encrypted MPEG-2 2014-07-20 01:37:58 +01:00
Jaroslav Kysela
05d6da39a5 mpegts: add assert to mpegts_table_release() to check refcount 2014-07-13 10:51:07 +02:00
Jaroslav Kysela
8b22c3fc0d mpegts table dispatch: added back the assert to see the bug 2014-07-13 10:39:03 +02:00
Jaroslav Kysela
dcbf2cf512 mpegts: table dispatch - a quick fix for the previous patch 2014-07-13 09:43:25 +02:00
Jaroslav Kysela
adeafeb870 mpegts: table dispatch - another optimization 2014-07-13 09:40:51 +02:00
Jaroslav Kysela
4a43a508db settings - use alloca() in hts_settings_makedirs() 2014-07-12 22:37:47 +02:00
Jaroslav Kysela
9c783ef2d0 mpegts: table dispatch - replace assert with debug log 2014-07-12 22:16:48 +02:00
Jaroslav Kysela
3a1651e000 mpegts tables: and another table mutex protections to scan routines 2014-07-12 22:06:43 +02:00
Jaroslav Kysela
4d8aee669c mpegts tables: add another mutex protection to fastswitch 2014-07-12 22:05:28 +02:00
Jaroslav Kysela
e0ac8768a1 descrambler: ECM - updates in the key validity checks 2014-07-12 19:21:44 +02:00
Jaroslav Kysela
d9f1f88e24 epggrab: ota - optimizations - remove completed grab from pending 2014-07-11 21:57:13 +02:00
Jaroslav Kysela
163e1bd18d mpegts: tables - flush all - fix unregisteredd deferred table flush 2014-07-11 16:36:10 +02:00
Jaroslav Kysela
efdfaf1376 mpegts: tables - add mutex protection to mpegts_table_add() 2014-07-11 16:28:22 +02:00
Jaroslav Kysela
528a1db428 mpegts: tables - fix the assert() in the table dispatch routine
- rename mm_defer_tables_lock to mm_tables_lock
- protect all table list operations with this lock
- use this lock in the table dispatch routine
2014-07-11 16:15:18 +02:00