Adam Sutton
99aee928c2
mpegts: fix potential deadlock on deletion of input source (while streaming)
...
Noticed this during tsfile shutdown.
2014-04-21 19:31:50 +01:00
Adam Sutton
ec861d81e8
subscriptions: fix potential recursion
2014-04-21 15:10:22 +01:00
Adam Sutton
4536719d12
tsfile: Added option to allow a fixed UUID for tsfile muxes
...
This is useful for testing how they work with other parts of the system
2014-04-21 14:46:56 +01:00
Adam Sutton
ec81b4c98b
util cron: fix possible DST issue
...
really not sure this will work, needs testing
2014-04-21 14:46:31 +01:00
Adam Sutton
ae0c2f5334
util cron: re-added code I wrote in early EPG days for handling cron tasks
...
This will be used as a means of managing mux subscription scheduling.
2014-04-20 14:12:53 +01:00
Adam Sutton
a07836fc38
capmt: fix invalid use of free()'d data as spotted by EricV
2014-04-17 17:49:12 +01:00
Adam Sutton
6df4ddba8e
bundle: fix memory leak spotted by EricV
2014-04-17 17:35:30 +01:00
Adam Sutton
de0562cbf8
timeshift: reduce the output buffer size
...
This will help with a potential overflow in the HTSP buffers that causes
glitches in client playback.
2014-04-16 22:32:54 +01:00
Adam Sutton
63ac3be4ed
ui status: add CC and TE display
2014-04-16 21:13:41 +01:00
Adam Sutton
2c8bc0cc47
mpegts: added some additional mux statistics
2014-04-16 21:13:41 +01:00
Adam Sutton
cbbb227aa4
wrappers: move thread start message to trace
2014-04-16 20:31:58 +01:00
Glenn
0e3fc1d185
Add support for seca3 emm (card updates) used by canal-digitaal nl and tv-vlaanderen
2014-04-16 21:15:28 +02:00
Adam Sutton
ade9e3c26d
mpegts: ignore NUL packets early
2014-04-16 19:51:36 +01:00
Adam Sutton
155f303215
mpegts tsfile: fix PCR extraction for tsfile playback
2014-04-16 19:50:32 +01:00
Adam Sutton
a7c78250b6
mpegts: fix misuse of protected structure, can result in crash
2014-04-16 10:44:27 +01:00
Jaroslav Kysela
c516ceade9
Improve the mux create routine to handle the unset and auto values
2014-04-16 11:05:51 +02:00
Adam Sutton
faf366d013
tsfile: removed config saving and redundant file
2014-04-15 22:31:57 +01:00
Adam Sutton
d59a569a3f
Revert "mpegts: disable the extra input thread"
...
This reverts commit f8e48bdc39
.
2014-04-15 09:21:56 +01:00
Adam Sutton
f89856d049
mpegts: fix memleak on tune
2014-04-14 23:46:36 +01:00
Eric Valette
ede7de2849
Fix mkv generation by enhancing avc_find_start_code and thus correctly generating isom/fourcc
2014-04-15 00:10:15 +02:00
Adam Sutton
fe06fb6fd5
linuxdvb: ensure that the enabled flag is properly honoured
2014-04-14 21:29:56 +01:00
Adam Sutton
30b3c0506c
mpegts: fix for PCR extraction (used by tsfile)
2014-04-14 17:51:17 +01:00
Adam Sutton
2e942e6a54
mpegts: some minor corrections to MPEG-TS packet processing
...
Relates to #1986
2014-04-14 17:51:17 +01:00
Adam Sutton
f8e48bdc39
mpegts: disable the extra input thread
...
I have decided that this is no longer necessary, however:
a) I like some of the changes introduced, so want to keep them
b) want to keep the option available should I re-evaulate the performance
2014-04-14 17:51:17 +01:00
Adam Sutton
847981890b
linuxdvb: fix file processing to ensure data is passed and efficiently
2014-04-14 17:51:17 +01:00
Adam Sutton
cf9470473b
mpegts: fix TS packet processing that could lead to lost data
2014-04-14 17:51:17 +01:00
Adam Sutton
963ec83ce0
main: added tsfile_done() call
2014-04-14 17:51:16 +01:00
Adam Sutton
652f892748
subscription: update to changes in mpegts_input API
...
Really this should not be directly in here, as subscription code shouldn't
need any knowledge of the underlying systems. However its a backdoor into
the full mux.
2014-04-14 17:51:16 +01:00
Adam Sutton
8387b4da09
tsfile: updated to use new mpegts_input API
2014-04-14 17:51:16 +01:00
Adam Sutton
aa29bca6ed
iptv: update to use new mpegts_input API
2014-04-14 17:51:16 +01:00
Adam Sutton
f579279c1b
linuxdvb: upated frontend code to use new mpegts_input API
2014-04-14 17:51:16 +01:00
Adam Sutton
4e3fc9d40b
mpegts: reworking of the input threading
...
I have split the input threading in two. There is now a smaller/faster thread
responisble for reading data from the source device (file/socket/DVB/etc...)
and a potentially slower (though not too slow!) thread for processing.
This ensures that any minor delay in processing (potentially due to unexpected
effects during start/stop, or anything else!) do not unduly impact reading from
the source which could otherwise lead to loss of data.
2014-04-14 17:51:16 +01:00
Adam Sutton
0a3f08dacd
mpegts: ensure scrambled streams are properly handled
...
If a scrambled has been seen on a "scrambled" channel all further packets
(within the subscription) MUST be processed through the descrambler else we
can end up with out of sequence packets causing CC errors. Relates to #1986
2014-04-14 17:51:03 +01:00
Adam Sutton
279e7cbfea
util: added sbuf_read() to allow reading from FD straight into sbuf
2014-04-14 17:51:03 +01:00
Adam Sutton
e5383315a3
http: possible NULL ptr on shutdown
2014-04-14 17:51:02 +01:00
Adam Sutton
eee6409733
config: use local strdupa() routine for cross-platform compat.
...
Spotted by decke
2014-04-14 16:56:41 +01:00
Adam Sutton
a9215da88a
util: fix typo if #ifndef protection, spotted by decke
2014-04-14 11:28:38 +01:00
Adam Sutton
af8e79c39e
settings: return NULL if no settings path is set
2014-04-13 20:41:46 +01:00
Adam Sutton
23515ef466
linuxdvb: fix typo in field name
2014-04-13 20:31:49 +01:00
Adam Sutton
dd8d66370f
cwc: don't give up on decode attempts ( fixes #1844 )
2014-04-13 20:24:17 +01:00
Adam Sutton
3c493bd82e
linuxdvb: fix version for device enumeration support ( fixes #2054 )
2014-04-13 15:38:28 +01:00
Jaroslav Kysela
74481ed734
Fix the uninitialized variable access detected by valgrind
...
- in linuxdvb the structure member alignment causes these complaints
- in FFdecsa - probably the batch processing is the culprit
2014-04-09 22:53:15 +02:00
Adam Sutton
b917ffa475
linuxdvb: fix compilation on pre DVB API v5.10
2014-04-09 21:37:12 +01:00
Adam Sutton
df11c19cfa
linuxdvb: correct mistake in delsys enumeration caused by recent updates
2014-04-09 21:30:02 +01:00
Adam Sutton
876b5c3ae6
linuxdvb: some slight tweaks to naming of translation routines
...
Also publicly exposed one translation routine as its required in the adapter
setup
2014-04-09 21:28:56 +01:00
Adam Sutton
69fc982217
dvb: fix bug causing mux FE type from being overwritten
2014-04-09 00:03:01 +01:00
Adam Sutton
19a2b875e8
dvr: fix stupid compilation mistake ( fixes #2038 )
2014-04-08 08:09:18 +01:00
Adam Sutton
82048878c8
dvr: ensure update to in-progress recording doesn't restart ( fixes #1982 )
2014-04-07 21:35:40 +01:00
Adam Sutton
1369d5dbeb
timeshift: ensure no use of potentially free()'d variable ( fixes #2028 )
2014-04-07 20:47:50 +01:00
Adam Sutton
5e777cbdbe
url: fix stupid mistakes in regexp ( fixes #2021 )
2014-04-07 17:35:47 +01:00