Gary The Brown
59d15977d8
Fix: timer for grace period was in ms when the rotor returned its waiting period in seconds.
2014-04-28 04:52:49 +01:00
Adam Sutton
e113c3bc22
webui: added service stream details dialog ( fixes #2006 )
2014-04-23 00:42:30 +01:00
Adam Sutton
63f64d2900
api service: add new routine for requesting stream info
2014-04-23 00:42:30 +01:00
Adam Sutton
6b0aed0170
iptv: fix stupid error causing IPTV systems to fail ( fixes #2067 )
...
This occured where the IPTV system was using small packets (7 pkts
is pretty normal since it always fits in most IP datagrams)
unfortunately all my testing had been with custom generator script
that used much larger packets.
2014-04-22 22:24:26 +01:00
Adam Sutton
42c54418be
tsdemux: hack for PCR extraction now PMT monitoring is disabled
...
Probably should just force PMT monitoring on for tsfile input and
only extract PCR from "known" good PID. However I've found in
practice the "real" PCR streams are typically video streams that
also include payload. So this hack works for now.
2014-04-22 14:04:17 +01:00
Adam Sutton
c361cc6c69
mpegts: add PMT monitoring option
...
PMT monitoring is currently disabled by default, need to decide whether
this is the correct behaviour. This should help low performance tuners.
Fixes #1986
2014-04-22 14:02:56 +01:00
Adam Sutton
34ab2929d2
mpegts: some minor changes to init / shutdown to avoid pointless errors
2014-04-22 10:04:35 +01:00
Adam Sutton
31e7685803
http: attempt to remove pointless errors on shutdown
...
This is still not foolproof and I'm not 100% convinced there couldn't be an
error (including crash?) on shutdown.
2014-04-22 10:01:38 +01:00
Adam Sutton
aebfda893a
linuxdvb: remove full mux rx mode
...
There is currently no use for this feature in TVH, it was only ever added as
a means of getting internal table filtering going and with the idea of some
caching feature that's never materialised. However enabling on low performance
devices can often cause problems, so until there is a genuine use I'm removing
confusion.
2014-04-22 09:19:09 +01:00
Adam Sutton
c980f07aef
mpegts: add missing mux get_title routine, fixes #2071
2014-04-22 09:16:54 +01:00
Jaroslav Kysela
f5bbb4c7f8
eit.c: move invalid tsid messages from tvhwarn() to tvhtrace()
2014-04-22 00:56:56 +01:00
Adam Sutton
4f054fb41f
http: remove multi-/ from URL when searching for paths ( fixes #1764 )
2014-04-22 00:56:56 +01:00
Adam Sutton
066728b9a0
mpegts: attempt to avoid unecessary reporting of CRC failure on CC error
...
I've also hidden the PSI CC error output, put in debug, so it doesn't flood
logs and generally annoy people.
2014-04-21 22:31:30 +01:00
Adam Sutton
a3b2ad5e5b
tsfile: fix problem with ts-resync on end of file
...
Actually this is a more general re-sync bug, it's possible that a loss of
sync could end up being terminal.
2014-04-21 22:29:31 +01:00
Adam Sutton
a9e7d13cbf
mpegts cwc: re-add configuration for prefcapid ( fixes #2001 )
2014-04-21 21:22:50 +01:00
Adam Sutton
7348408b2a
linuxdvb: add missing list spec to EN50494 network entries ( fixes #2033 )
2014-04-21 21:10:07 +01:00
Adam Sutton
b6b6aa605f
dvb: remove redundant code spotted by EricV
2014-04-21 19:56:21 +01:00
Adam Sutton
54b7f9ca44
cwc: fix potential leak spotted by EricV, and also bad var init
2014-04-21 19:53:55 +01:00
Adam Sutton
c7388f7e9e
api webui: fix stupid mistake in error reporting spotted by EricV
2014-04-21 19:48:02 +01:00
Adam Sutton
eeae897dea
mpegts: new feature for scheduling mux tuning events
...
Could be useful for requesting periodic tuning of mux for EMM harvesting.
Will eventually be used to replace the current OTA EPG scheduling.
2014-04-21 19:39:04 +01:00
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
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