]>
git.ipfire.org Git - thirdparty/tvheadend.git/log
Jaroslav Kysela [Tue, 15 Apr 2014 15:30:47 +0000 (17:30 +0200)]
Move RTSP common code from SAT>IP to the common place
Jaroslav Kysela [Mon, 14 Apr 2014 19:42:12 +0000 (21:42 +0200)]
Add build-in http client
- supports SSL
- supports location redirections
- supports chunked data transfers
- supports HTTP/1.0 HTTP/1.1 and RTSP/1.0
Jaroslav Kysela [Wed, 9 Apr 2014 18:30:44 +0000 (20:30 +0200)]
Make URL parser more dynamic
Jaroslav Kysela [Wed, 9 Apr 2014 18:11:12 +0000 (20:11 +0200)]
tvhpoll - use data.ptr instead data.u64 in http_client.c and satip_frontend.c
Jaroslav Kysela [Wed, 9 Apr 2014 16:21:51 +0000 (18:21 +0200)]
Improve the SAT>IP RTSP implementation
Jaroslav Kysela [Wed, 9 Apr 2014 16:21:07 +0000 (18:21 +0200)]
Prevent SIGSEGV when bind to the TCP socket fails
Jaroslav Kysela [Wed, 9 Apr 2014 17:54:02 +0000 (19:54 +0200)]
tvhlog - do not queue messages when log is not running
Jaroslav Kysela [Wed, 9 Apr 2014 17:52:23 +0000 (19:52 +0200)]
Add SAT>IP support (remote network tuners)
Jaroslav Kysela [Wed, 9 Apr 2014 17:47:24 +0000 (19:47 +0200)]
URL parser fixes
Jaroslav Kysela [Wed, 9 Apr 2014 17:35:21 +0000 (19:35 +0200)]
http client fixes (curl based)
- check the private u64 value rather than fd (gdb problems)
- move the run call outside the connect routine (locking issues)
- try to fix more leaks (PR_Cleanup)
Jaroslav Kysela [Wed, 9 Apr 2014 17:30:13 +0000 (19:30 +0200)]
Add basic support for the UPnP protocol (client)
Jaroslav Kysela [Wed, 9 Apr 2014 17:28:16 +0000 (19:28 +0200)]
Reorganize the UDP code from IPTV to the shared location
perexg [Mon, 5 May 2014 19:25:23 +0000 (21:25 +0200)]
Merge pull request #379 from perexg/service-info-caid
Show the CAIDs in hex in the service info dialog plus add the provider
perexg [Mon, 5 May 2014 19:25:04 +0000 (21:25 +0200)]
Merge pull request #377 from perexg/pid-filter
Optimize the PIDs filtering
perexg [Mon, 5 May 2014 19:24:09 +0000 (21:24 +0200)]
Merge pull request #375 from perexg/mux-create
Improve the mux create routine to handle the unset and auto values
perexg [Mon, 5 May 2014 19:21:53 +0000 (21:21 +0200)]
Merge pull request #370 from perexg/uninitialized
Fix the uninitialized variable access detected by valgrind
perexg [Mon, 5 May 2014 19:21:18 +0000 (21:21 +0200)]
Merge pull request #378 from perexg/init-fix
Fix the missing ccerr initialization in ts_recv_packet0
Adam Sutton [Thu, 1 May 2014 21:14:43 +0000 (22:14 +0100)]
docs: updating general docs
Adam Sutton [Wed, 30 Apr 2014 21:30:18 +0000 (22:30 +0100)]
tcp: minor correction to avoid GCC warnings about type aliasing
Jaroslav Kysela [Wed, 23 Apr 2014 20:18:50 +0000 (22:18 +0200)]
Show the CAIDs in hex in the service info dialog plus add the provider number
Jaroslav Kysela [Wed, 23 Apr 2014 15:03:39 +0000 (17:03 +0200)]
Fix the missing ccerr initialization in ts_recv_packet0
Jaroslav Kysela [Wed, 23 Apr 2014 10:50:18 +0000 (12:50 +0200)]
Optimize the PIDs filtering
- only used CA PIDs are opened
- all PMT PIDs are opened only at the initial scan
The SAT>IP boxes have limited count of PIDs filters (and probably some
linuxdvb hardware too), so try to use these resources better.
Jaroslav Kysela [Wed, 23 Apr 2014 11:22:18 +0000 (13:22 +0200)]
Partial revert of "mpegts: add PMT monitoring option"
- removed the pmtmon option
- kept the PMT table handling for given service
Adam Sutton [Tue, 22 Apr 2014 23:41:27 +0000 (00:41 +0100)]
webui: added service stream details dialog (fixes #2006)
Adam Sutton [Tue, 22 Apr 2014 22:32:23 +0000 (23:32 +0100)]
api service: add new routine for requesting stream info
Adam Sutton [Tue, 22 Apr 2014 21:24:26 +0000 (22:24 +0100)]
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.
Adam Sutton [Tue, 22 Apr 2014 13:04:17 +0000 (14:04 +0100)]
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.
Adam Sutton [Tue, 22 Apr 2014 13:02:56 +0000 (14:02 +0100)]
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
Adam Sutton [Tue, 22 Apr 2014 09:01:09 +0000 (10:01 +0100)]
mpegts: some minor changes to init / shutdown to avoid pointless errors
Adam Sutton [Tue, 22 Apr 2014 08:59:53 +0000 (09:59 +0100)]
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.
Adam Sutton [Tue, 22 Apr 2014 08:19:09 +0000 (09:19 +0100)]
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.
Adam Sutton [Tue, 22 Apr 2014 08:16:54 +0000 (09:16 +0100)]
mpegts: add missing mux get_title routine, fixes #2071
Jaroslav Kysela [Tue, 18 Mar 2014 19:13:48 +0000 (20:13 +0100)]
eit.c: move invalid tsid messages from tvhwarn() to tvhtrace()
Adam Sutton [Mon, 21 Apr 2014 22:34:38 +0000 (23:34 +0100)]
http: remove multi-/ from URL when searching for paths (fixes #1764)
Adam Sutton [Mon, 21 Apr 2014 21:31:30 +0000 (22:31 +0100)]
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.
Adam Sutton [Mon, 21 Apr 2014 21:29:31 +0000 (22:29 +0100)]
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.
Adam Sutton [Mon, 21 Apr 2014 20:22:50 +0000 (21:22 +0100)]
mpegts cwc: re-add configuration for prefcapid (fixes #2001)
Adam Sutton [Mon, 21 Apr 2014 20:10:07 +0000 (21:10 +0100)]
linuxdvb: add missing list spec to EN50494 network entries (fixes #2033)
Adam Sutton [Mon, 21 Apr 2014 18:56:21 +0000 (19:56 +0100)]
dvb: remove redundant code spotted by EricV
Adam Sutton [Mon, 21 Apr 2014 18:51:39 +0000 (19:51 +0100)]
cwc: fix potential leak spotted by EricV, and also bad var init
Adam Sutton [Mon, 21 Apr 2014 18:48:02 +0000 (19:48 +0100)]
api webui: fix stupid mistake in error reporting spotted by EricV
Adam Sutton [Mon, 21 Apr 2014 18:33:17 +0000 (19:33 +0100)]
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.
Adam Sutton [Mon, 21 Apr 2014 18:31:50 +0000 (19:31 +0100)]
mpegts: fix potential deadlock on deletion of input source (while streaming)
Noticed this during tsfile shutdown.
Adam Sutton [Mon, 21 Apr 2014 14:10:22 +0000 (15:10 +0100)]
subscriptions: fix potential recursion
Adam Sutton [Mon, 21 Apr 2014 13:46:56 +0000 (14:46 +0100)]
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
Adam Sutton [Mon, 21 Apr 2014 13:46:31 +0000 (14:46 +0100)]
util cron: fix possible DST issue
really not sure this will work, needs testing
Adam Sutton [Sun, 20 Apr 2014 13:12:53 +0000 (14:12 +0100)]
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.
Adam Sutton [Thu, 17 Apr 2014 16:49:12 +0000 (17:49 +0100)]
capmt: fix invalid use of free()'d data as spotted by EricV
Adam Sutton [Thu, 17 Apr 2014 16:35:30 +0000 (17:35 +0100)]
bundle: fix memory leak spotted by EricV
Adam Sutton [Wed, 16 Apr 2014 21:32:54 +0000 (22:32 +0100)]
timeshift: reduce the output buffer size
This will help with a potential overflow in the HTSP buffers that causes
glitches in client playback.
Adam Sutton [Wed, 16 Apr 2014 20:13:12 +0000 (21:13 +0100)]
ui status: add CC and TE display
Adam Sutton [Wed, 16 Apr 2014 19:44:55 +0000 (20:44 +0100)]
mpegts: added some additional mux statistics
Adam Sutton [Wed, 16 Apr 2014 19:31:58 +0000 (20:31 +0100)]
wrappers: move thread start message to trace
Adam Sutton [Wed, 16 Apr 2014 18:51:36 +0000 (19:51 +0100)]
mpegts: ignore NUL packets early
Adam Sutton [Wed, 16 Apr 2014 18:49:28 +0000 (19:49 +0100)]
mpegts tsfile: fix PCR extraction for tsfile playback
Adam Sutton [Wed, 16 Apr 2014 09:44:27 +0000 (10:44 +0100)]
mpegts: fix misuse of protected structure, can result in crash
Jaroslav Kysela [Wed, 16 Apr 2014 08:28:18 +0000 (10:28 +0200)]
Improve the mux create routine to handle the unset and auto values
Adam Sutton [Tue, 15 Apr 2014 21:31:57 +0000 (22:31 +0100)]
tsfile: removed config saving and redundant file
Adam Sutton [Tue, 15 Apr 2014 08:21:56 +0000 (09:21 +0100)]
Revert "mpegts: disable the extra input thread"
This reverts commit
f8e48bdc3999c852ce4235f76c03313f6aa80102 .
Adam Sutton [Mon, 14 Apr 2014 22:46:36 +0000 (23:46 +0100)]
mpegts: fix memleak on tune
Adam Sutton [Mon, 14 Apr 2014 20:29:56 +0000 (21:29 +0100)]
linuxdvb: ensure that the enabled flag is properly honoured
Adam Sutton [Mon, 14 Apr 2014 16:49:18 +0000 (17:49 +0100)]
mpegts: fix for PCR extraction (used by tsfile)
Adam Sutton [Mon, 14 Apr 2014 16:48:31 +0000 (17:48 +0100)]
mpegts: some minor corrections to MPEG-TS packet processing
Relates to #1986
Adam Sutton [Mon, 14 Apr 2014 16:31:14 +0000 (17:31 +0100)]
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
Adam Sutton [Fri, 11 Apr 2014 23:11:38 +0000 (00:11 +0100)]
linuxdvb: fix file processing to ensure data is passed and efficiently
Adam Sutton [Fri, 11 Apr 2014 23:11:23 +0000 (00:11 +0100)]
mpegts: fix TS packet processing that could lead to lost data
Adam Sutton [Fri, 11 Apr 2014 22:47:55 +0000 (23:47 +0100)]
main: added tsfile_done() call
Adam Sutton [Fri, 11 Apr 2014 22:47:05 +0000 (23:47 +0100)]
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.
Adam Sutton [Fri, 11 Apr 2014 22:46:38 +0000 (23:46 +0100)]
tsfile: updated to use new mpegts_input API
Adam Sutton [Fri, 11 Apr 2014 22:46:16 +0000 (23:46 +0100)]
iptv: update to use new mpegts_input API
Adam Sutton [Fri, 11 Apr 2014 22:45:42 +0000 (23:45 +0100)]
linuxdvb: upated frontend code to use new mpegts_input API
Adam Sutton [Fri, 11 Apr 2014 22:43:12 +0000 (23:43 +0100)]
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.
Adam Sutton [Mon, 14 Apr 2014 15:58:00 +0000 (16:58 +0100)]
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
Adam Sutton [Thu, 10 Apr 2014 19:12:25 +0000 (20:12 +0100)]
util: added sbuf_read() to allow reading from FD straight into sbuf
Adam Sutton [Fri, 11 Apr 2014 16:25:30 +0000 (17:25 +0100)]
http: possible NULL ptr on shutdown
Adam Sutton [Mon, 14 Apr 2014 15:56:41 +0000 (16:56 +0100)]
config: use local strdupa() routine for cross-platform compat.
Spotted by decke
Adam Sutton [Mon, 14 Apr 2014 10:28:38 +0000 (11:28 +0100)]
util: fix typo if #ifndef protection, spotted by decke
Adam Sutton [Sun, 13 Apr 2014 19:41:46 +0000 (20:41 +0100)]
settings: return NULL if no settings path is set
Adam Sutton [Sun, 13 Apr 2014 19:31:49 +0000 (20:31 +0100)]
linuxdvb: fix typo in field name
Adam Sutton [Sun, 13 Apr 2014 19:24:17 +0000 (20:24 +0100)]
cwc: don't give up on decode attempts (fixes #1844)
Adam Sutton [Sun, 13 Apr 2014 14:37:09 +0000 (15:37 +0100)]
linuxdvb: fix version for device enumeration support (fixes #2054)
Jaroslav Kysela [Wed, 9 Apr 2014 20:47:25 +0000 (22:47 +0200)]
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
Adam Sutton [Wed, 9 Apr 2014 20:37:12 +0000 (21:37 +0100)]
linuxdvb: fix compilation on pre DVB API v5.10
Adam Sutton [Wed, 9 Apr 2014 20:30:02 +0000 (21:30 +0100)]
linuxdvb: correct mistake in delsys enumeration caused by recent updates
Adam Sutton [Wed, 9 Apr 2014 20:28:56 +0000 (21:28 +0100)]
linuxdvb: some slight tweaks to naming of translation routines
Also publicly exposed one translation routine as its required in the adapter
setup
Adam Sutton [Tue, 8 Apr 2014 22:52:16 +0000 (23:52 +0100)]
dvb: fix bug causing mux FE type from being overwritten
Adam Sutton [Tue, 8 Apr 2014 07:09:18 +0000 (08:09 +0100)]
dvr: fix stupid compilation mistake (fixes #2038)
Adam Sutton [Mon, 7 Apr 2014 20:35:40 +0000 (21:35 +0100)]
dvr: ensure update to in-progress recording doesn't restart (fixes #1982)
Adam Sutton [Mon, 7 Apr 2014 19:47:50 +0000 (20:47 +0100)]
timeshift: ensure no use of potentially free()'d variable (fixes #2028)
Adam Sutton [Mon, 7 Apr 2014 16:35:47 +0000 (17:35 +0100)]
url: fix stupid mistakes in regexp (fixes #2021)
Adam Sutton [Mon, 7 Apr 2014 16:02:28 +0000 (17:02 +0100)]
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.
Adam Sutton [Mon, 7 Apr 2014 15:50:41 +0000 (16:50 +0100)]
webui: ensure we don't pass NULL to muxer_create for config (fixes #2017).
Adam Sutton [Mon, 7 Apr 2014 15:36:53 +0000 (16:36 +0100)]
config: fix problems with config migration (fixes #2035, #2023)
Adam Sutton [Mon, 7 Apr 2014 09:23:05 +0000 (10:23 +0100)]
settings: ensure config path is absolute
I have a feeling using -D would break this due to the change to cwd?
Adam Sutton [Fri, 4 Apr 2014 16:24:48 +0000 (17:24 +0100)]
linuxdvb: fix stupid mistake in adapter config processing
Adam Sutton [Fri, 4 Apr 2014 15:17:56 +0000 (16:17 +0100)]
dvb: remove the inline config migration, this is handled in config.c now
Adam Sutton [Fri, 4 Apr 2014 14:56:13 +0000 (15:56 +0100)]
Merge remote-tracking branch 'origin/pr/345'
Adam Sutton [Fri, 4 Apr 2014 14:55:44 +0000 (15:55 +0100)]
Merge remote-tracking branch 'origin/pr/356'
Adam Sutton [Fri, 4 Apr 2014 14:55:37 +0000 (15:55 +0100)]
Merge remote-tracking branch 'origin/pr/358'
Adam Sutton [Fri, 4 Apr 2014 14:55:26 +0000 (15:55 +0100)]
Merge remote-tracking branch 'origin/pr/359'