Commit graph

4068 commits

Author SHA1 Message Date
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
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
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
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
Adam Sutton
dfeb0cee47 mpegts dvb: fix rather dubious assert (fixes #2036)
Could have ensure this was set correctly on input, but given that it was being
set if no config was passed and almost certainly it must by definition be the
same as the source mux, might as well simplify things.
2014-04-07 17:11:12 +01:00
Adam Sutton
5c73e78c28 webui: ensure we don't pass NULL to muxer_create for config (fixes #2017). 2014-04-07 17:11:12 +01:00
Adam Sutton
bba7572d19 config: fix problems with config migration (fixes #2035, #2023) 2014-04-07 17:11:06 +01:00
Adam Sutton
89e1b97a92 settings: ensure config path is absolute
I have a feeling using -D would break this due to the change to cwd?
2014-04-07 10:23:05 +01:00
Adam Sutton
3f51680a58 linuxdvb: fix stupid mistake in adapter config processing 2014-04-04 17:24:48 +01:00
Adam Sutton
804cb67350 dvb: remove the inline config migration, this is handled in config.c now 2014-04-04 16:17:56 +01:00
Adam Sutton
2080015aa6 Merge remote-tracking branch 'origin/pr/345' 2014-04-04 15:56:13 +01:00
Adam Sutton
4f3d858859 Merge remote-tracking branch 'origin/pr/356' 2014-04-04 15:55:44 +01:00
Adam Sutton
42dbcbe74e Merge remote-tracking branch 'origin/pr/358' 2014-04-04 15:55:37 +01:00
Adam Sutton
a351279395 Merge remote-tracking branch 'origin/pr/359' 2014-04-04 15:55:26 +01:00
Adam Sutton
a7858088ee Merge remote-tracking branch 'origin/pr/360' 2014-04-04 15:50:28 +01:00
Adam Sutton
250dc66c31 Merge remote-tracking branch 'origin/pr/361' 2014-04-04 15:36:35 +01:00
Adam Sutton
3748173605 config: update to include migration of the dvb networks folder 2014-04-04 15:31:49 +01:00
Adam Sutton
bb678d9359 Merge branch 'feature/pr/365' 2014-04-04 15:22:14 +01:00
Adam Sutton
7e89bbe3f4 Merge remote-tracking branch 'origin/pr/365' 2014-04-04 15:02:21 +01:00