]>
git.ipfire.org Git - thirdparty/tvheadend.git/log
Jaroslav Kysela [Thu, 14 Dec 2017 13:58:57 +0000 (14:58 +0100)]
descrambler: capmt - try to handle PAT pid (zero) more correctly, issue #4794
Jaroslav Kysela [Sun, 10 Dec 2017 15:38:21 +0000 (16:38 +0100)]
Revert "tvhpoll: return correct fd in tvhpoll_wait() for linux's epoll"
This reverts commit
c7ca59a1ff591fec1c31430ed2daab04bfe5fb81 .
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
Fixed linking errors when bonjour was enabled.
SRCS-yes was reset when bonjour sources should have been added, and all previously added sources didn't get linked.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
Fixed const correctness in bonjour code.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
On FreeBSD bswap_*() macros are now correctly mapped to the BSD bswap*() calls.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
http: The MSG_MORE flag is not available on FreeBSD or Darwin.
Added a compatibility definition in compat.h.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
intlconv: The iconv() function signature isn't different on current FreeBSD.
Casting to const char ** is not only unnecessary, but also triggers a warning by the compiler.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
vfs: The sys/sysmacros.h include is not available or needed on FreeBSD and Darwin.
Had to rearrange include order to have access to the PLATFORM_* macros.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
tcp: Fixed includes for FreeBSD.
sys/socket.h is required.
Switched include order for netinet/in.h and netinet/ip.h to avoid compiler errors on FreeBSD.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
webui: Fixed sendfile() call on Darwin.
Order of call arguments was wrong.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
wrappers: Implemented correctly for Darwin.
pthread_cond_timedwait() is not usable on Darwin, because it cannot be configured to use the monotonic clock. So instead the relative pthread_cond_timedwait_relative_np() is used with a relative time to wait for.
Only tvhthread_renice() is missing, but there seems to be currently no way on Darwin or FreeBSD to implement per-thread prioritization. The #warning is good, but it breaks with the default -Werror compile flag.
macrule [Wed, 29 Nov 2017 17:18:53 +0000 (18:18 +0100)]
tvhpoll: Fixed tvhpoll_add kqueue implementation.
The semantics of tvhpoll_add() in the epoll implementation is to set exactly the specified filters, and not add to any previously added ones. The kqueue implementation only added filters, and never removed those that were not set anymore.
This caused busy-polling in satip_frontend on FreeBSD and Darwin, because tvhpoll_wait() always returned immediately. This happened because the receiving socket was always ready to accept data for writing. The following recv() call was called repeatedly without any delay and caused high CPU utilization.
Jaroslav Kysela [Sun, 10 Dec 2017 14:55:14 +0000 (15:55 +0100)]
tvhpoll: return correct fd in tvhpoll_wait() for linux's epoll
Jaroslav Kysela [Thu, 7 Dec 2017 14:28:33 +0000 (15:28 +0100)]
dvbpsi: add sanity checks to psi_desc_ca()
E.Smith [Thu, 7 Dec 2017 13:30:49 +0000 (13:30 +0000)]
avahi: avahi_strdup should be freed with avahi_free. (#4773).
Issue: #4773.
E.Smith [Wed, 6 Dec 2017 21:51:39 +0000 (21:51 +0000)]
xmltv/core: Fix several memory leaks/make more const correct. (#4773)
Issue: #4773.
Jaroslav Kysela [Sun, 3 Dec 2017 11:38:08 +0000 (12:38 +0100)]
IPTV auto network: fix uninitalized variable
Jaroslav Kysela [Sun, 3 Dec 2017 09:07:37 +0000 (10:07 +0100)]
channel icons: fix the compilation issue
Jaroslav Kysela [Sat, 2 Dec 2017 17:59:36 +0000 (18:59 +0100)]
url: fix urlcopy()
Jaroslav Kysela [Sun, 3 Dec 2017 08:47:44 +0000 (09:47 +0100)]
channel icons: add '%U' to pass UTF-8 filenames, fixes #4755
Jaroslav Kysela [Thu, 16 Nov 2017 13:09:01 +0000 (14:09 +0100)]
profile: set 'Switch to another service' to on as default
Sam Nazarko [Thu, 16 Nov 2017 05:03:29 +0000 (05:03 +0000)]
configure: Fix libsystemd dependency for Stretch and later
Signed-off-by: Sam Nazarko <email@samnazarko.co.uk>
Jaroslav Kysela [Wed, 15 Nov 2017 18:38:53 +0000 (19:38 +0100)]
htsp server: don't use static char array for channelIcon
Jaroslav Kysela [Wed, 15 Nov 2017 11:17:33 +0000 (12:17 +0100)]
service: handle better preferred video types for the service selection
- use free inputs when preferred inputs are busy
- add UHD->HD fallback and SD->HD fallback
Jaroslav Kysela [Mon, 13 Nov 2017 12:57:24 +0000 (13:57 +0100)]
configure: print iconv selection explanation
Jaroslav Kysela [Mon, 13 Nov 2017 09:03:37 +0000 (10:03 +0100)]
capmt_ca: missing typedef
Jaroslav Kysela [Mon, 13 Nov 2017 07:33:12 +0000 (08:33 +0100)]
capmt_ca: fix compilation (does anyone use this?)
Jaroslav Kysela [Mon, 13 Nov 2017 07:15:37 +0000 (08:15 +0100)]
profile: fix typo (and remember to recompile things after each changes -perexg), issue #4721
Jaroslav Kysela [Sun, 12 Nov 2017 17:40:40 +0000 (18:40 +0100)]
profile: print an error when the profile is problematic, issue #4721
Jaroslav Kysela [Mon, 9 Oct 2017 14:45:30 +0000 (16:45 +0200)]
htsp server: try to play correctly with older htsp clients (DVR prio NOTSET), fixes #4720
Jaroslav Kysela [Thu, 9 Nov 2017 14:41:52 +0000 (15:41 +0100)]
dvrvfs: change the fsid logic (use st_dev for NFS), fixes #4713
Daniel Becker [Thu, 21 Sep 2017 04:42:39 +0000 (21:42 -0700)]
fix storage space calculation
The f_bfree and f_bavail members in struct statvfs are expressed in
units of f_frsize, not f_bsize (see the statvfs(2) manpage, e.g. here:
<https://linux.die.net/man/2/statvfs>). The two can differ quite
substantially, e.g. on ZFS.
Jaroslav Kysela [Thu, 9 Nov 2017 07:32:20 +0000 (08:32 +0100)]
muxer libav: fix compilation for ffmpeg < 3.4, fixes #4712
Jaroslav Kysela [Wed, 8 Nov 2017 08:22:18 +0000 (09:22 +0100)]
libav muxer: fix the close sequence for live file descriptors, issue #4704, fixes #4712
Jaroslav Kysela [Sat, 4 Nov 2017 16:29:16 +0000 (17:29 +0100)]
libav muxer: fix the missing file descriptor close, fixes #4704
Jaroslav Kysela [Fri, 3 Nov 2017 19:13:39 +0000 (20:13 +0100)]
fix htsbuf_append_and_escape_url() - don't escape more allowed characters, fixes #3721
Jaroslav Kysela [Wed, 1 Nov 2017 15:31:57 +0000 (16:31 +0100)]
epggrab: channel mapper - handle better empty IDs, fixes #4699
Jaroslav Kysela [Mon, 30 Oct 2017 11:12:23 +0000 (12:12 +0100)]
httpc: fix the wrong receive buffer overflow check, fixes #4353
Jaroslav Kysela [Mon, 30 Oct 2017 11:45:47 +0000 (12:45 +0100)]
httpc: introduce http_client_rbuf_cut(), try to fix wrong rbuf update for RTP data, issue #4353
Jaroslav Kysela [Wed, 25 Oct 2017 12:28:12 +0000 (14:28 +0200)]
epg api: fix the eventId check in api_epg_alternative/api_epg_related functions, fixes #4688
TheTroll [Tue, 24 Oct 2017 22:29:43 +0000 (00:29 +0200)]
Fix Nagra's Provids detection
Jaroslav Kysela [Fri, 20 Oct 2017 14:23:55 +0000 (16:23 +0200)]
tsfix: code cleanups, set time references from backlog, too, issue #4662
Jaroslav Kysela [Mon, 16 Oct 2017 06:53:47 +0000 (08:53 +0200)]
parsers: implement PTS clock recovery for ugly encoder, issue #4662
Jaroslav Kysela [Mon, 16 Oct 2017 18:44:42 +0000 (20:44 +0200)]
Makefile: fix typo
Michael Marley [Fri, 13 Oct 2017 21:25:03 +0000 (17:25 -0400)]
Makefile.hdhomerun: Update to
20170930
This adds support for the newly-released HDHR5 models.
Jaroslav Kysela [Mon, 16 Oct 2017 15:39:16 +0000 (17:39 +0200)]
Makefile.ffmpeg: update ffmpeg to 3.4
Jaroslav Kysela [Wed, 18 Oct 2017 13:11:52 +0000 (15:11 +0200)]
mpegts network: create mux - handle correctly ATSC C/T changes, fixes #4673
Jaroslav Kysela [Wed, 18 Oct 2017 09:18:29 +0000 (11:18 +0200)]
DVR: correct logic in dvr_thread_rec_start()
Jaroslav Kysela [Wed, 18 Oct 2017 09:08:53 +0000 (11:08 +0200)]
DVR: fix 'reconfigure muxer when streams changes', issue #4538, fixes #4672
Jaroslav Kysela [Wed, 11 Oct 2017 05:59:42 +0000 (07:59 +0200)]
Makefile.ffmpeg: update to ffmpeg 3.3.4
Jaroslav Kysela [Mon, 9 Oct 2017 13:56:07 +0000 (15:56 +0200)]
Revert "satip server: close session on SETUP error, fixes #4471"
This reverts commit
3a10ba27f0f1440a7f2cce01a85031aa81f27904 .
Jaroslav Kysela [Tue, 12 Sep 2017 11:48:18 +0000 (13:48 +0200)]
satip server: add one more no_data check, issue #4499
Jaroslav Kysela [Mon, 7 Aug 2017 12:12:37 +0000 (14:12 +0200)]
satip server: rearm the session timeout timer in TCP data mode
From: Mono Polimorph
Jaroslav Kysela [Mon, 9 Oct 2017 13:18:11 +0000 (15:18 +0200)]
satip server: Drop fe parameter on demand, fixes #4619
From: Mono Polimorph
Jaroslav Kysela [Mon, 9 Oct 2017 13:12:46 +0000 (15:12 +0200)]
satip server: Support different PORT over NAT FORWARDING, fixes #4617
From: Mono Polimorph
Jaroslav Kysela [Mon, 9 Oct 2017 12:56:49 +0000 (14:56 +0200)]
introduce tvh_str_default()
Jaroslav Kysela [Mon, 9 Oct 2017 12:21:28 +0000 (14:21 +0200)]
satip server: rectrict pids=all requests, fixes #4620
From: Mono Polimorph
Jaroslav Kysela [Sat, 7 Oct 2017 20:46:53 +0000 (22:46 +0200)]
dvb psi: add freq list descriptor parsing, cleanups, fix extract_4byte()
Jaroslav Kysela [Wed, 20 Sep 2017 07:10:19 +0000 (09:10 +0200)]
mpegts dvb: distinguish correctly between DVB-C/ANNEX-B and ATSC-C/ANNEX-B networks, fixes #4529
Jaroslav Kysela [Fri, 8 Sep 2017 06:43:21 +0000 (08:43 +0200)]
dvb psi: use correct delivery system in dvb_desc_cable_del(), issue #4529
Jaroslav Kysela [Wed, 14 Jun 2017 07:02:42 +0000 (09:02 +0200)]
dvb psi: cosmetic code reshuffle, translate onid/tsid 0xffff to 55555
Jaroslav Kysela [Wed, 2 Aug 2017 08:08:45 +0000 (10:08 +0200)]
satip server: allow to turn off UPnP discovery, fixes #4482
Jaroslav Kysela [Mon, 9 Oct 2017 08:21:14 +0000 (10:21 +0200)]
idnode: partially revert the previous code in idnode_cmp_sort()
Jaroslav Kysela [Mon, 9 Oct 2017 08:17:22 +0000 (10:17 +0200)]
idnode: fix sorting (slist_rend, idnode_get_display)
Jaroslav Kysela [Mon, 9 Oct 2017 07:24:56 +0000 (09:24 +0200)]
htsbuf: remove double ;; in htsbuf_append_and_escape_url()
Jaroslav Kysela [Mon, 9 Oct 2017 07:59:04 +0000 (09:59 +0200)]
iptv: auto - fix the url query filter, fixes #4658
Jaroslav Kysela [Mon, 9 Oct 2017 06:41:06 +0000 (08:41 +0200)]
http: xmltv export - escape icon URL, fixes #4659
Jaroslav Kysela [Mon, 2 Oct 2017 07:08:39 +0000 (09:08 +0200)]
htsp: fix the global_lock in htsp_file_destroy, fixes #4622
Jaroslav Kysela [Mon, 2 Oct 2017 06:49:58 +0000 (08:49 +0200)]
mpegts: mux - move stop PID timer call to appropriate place, fixes #4643
Jaroslav Kysela [Fri, 29 Sep 2017 12:11:47 +0000 (14:11 +0200)]
epggrab: do not re-enable opentv grabber when user not enabled it, fixes #4633
Jaroslav Kysela [Thu, 28 Sep 2017 16:55:34 +0000 (18:55 +0200)]
epggrab: remove all channels links when not enabled, fixes #4633
Jaroslav Kysela [Fri, 29 Sep 2017 11:52:11 +0000 (13:52 +0200)]
prop: fix prop_str -> prop_ptr
Jaroslav Kysela [Fri, 29 Sep 2017 07:40:50 +0000 (09:40 +0200)]
idnode: compilation fix for last prop change
Jaroslav Kysela [Fri, 29 Sep 2017 07:31:52 +0000 (09:31 +0200)]
prop: prop_sbuf / prop_ptr cleanups
The prop get string callbacks should use static buffers. This
patch is trying to fix the problematic parts (mostly in dvr_db.c)
and also introduces prop_ptr to not allocate static pointer
in each string get callback.
The problems in dvb_db.c were serious, so tvh could crash or
invalid data are written to the config files.
Issue: #4636
Jaroslav Kysela [Mon, 25 Sep 2017 06:30:13 +0000 (08:30 +0200)]
htsp: move open syscall outside global_lock, issue #4624
Jaroslav Kysela [Sun, 24 Sep 2017 07:04:44 +0000 (09:04 +0200)]
cwc: increase CWS_NETMSGSIZE to 1024 (like oscam)
Jaroslav Kysela [Sun, 24 Sep 2017 07:01:34 +0000 (09:01 +0200)]
DVR: reconfigure muxer when streams changes, fixes #4538
Jaroslav Kysela [Wed, 20 Sep 2017 07:51:56 +0000 (09:51 +0200)]
DVR: Add forced flag to allow to move 'data errors' to the finished recordings, fixes #4603
Jaroslav Kysela [Wed, 20 Sep 2017 07:42:08 +0000 (09:42 +0200)]
Revert "DVR: handle SM_CODE_USER_REQUEST as a successful case, fixes #4603"
This reverts commit
519a783747e8075714b4c95a7e216edb53f2e77b .
Jaroslav Kysela [Tue, 19 Sep 2017 06:24:37 +0000 (08:24 +0200)]
DVR: fix for 'handle SM_CODE_USER_REQUEST as a successful case', fixes #4609
Jaroslav Kysela [Mon, 18 Sep 2017 18:19:15 +0000 (20:19 +0200)]
epg: try to fix epg_episode_number_cmp() for text episode version
Jaroslav Kysela [Mon, 18 Sep 2017 19:03:20 +0000 (21:03 +0200)]
satip server: fixed the RTP TCP size initialization, fixes #4517
Jaroslav Kysela [Mon, 18 Sep 2017 14:13:04 +0000 (16:13 +0200)]
DVR: handle SM_CODE_USER_REQUEST as a successful case, fixes #4603
Jaroslav Kysela [Mon, 18 Sep 2017 13:58:35 +0000 (15:58 +0200)]
doozer: remove precise targets
Jaroslav Kysela [Wed, 23 Aug 2017 10:27:56 +0000 (12:27 +0200)]
Makefile.ffmpeg: add some demuxers for latest IPTV libav input
Mark Clarkstone [Tue, 5 Sep 2017 16:16:06 +0000 (17:16 +0100)]
configure: only enable nvenc if asked, not by default, fixes #4572
Jaroslav Kysela [Mon, 18 Sep 2017 13:27:34 +0000 (15:27 +0200)]
configure: latest ffmpeg has own code
Jaroslav Kysela [Mon, 18 Sep 2017 12:31:52 +0000 (14:31 +0200)]
satip server: add possibility to export DVB-C and DVB-S2 muxes for IPTV input, fixes #4243
From: Mono Polimorph
Jaroslav Kysela [Sat, 16 Sep 2017 11:54:56 +0000 (13:54 +0200)]
http: extra data - add may_discard flag for RTP data, issue #4598
Jaroslav Kysela [Thu, 14 Sep 2017 10:06:25 +0000 (12:06 +0200)]
satip server: allow to configure TCP RTP payload size for limited clients, fixes #4517
Jaroslav Kysela [Tue, 8 Aug 2017 14:39:01 +0000 (16:39 +0200)]
satip server: configure TCP socket send buffer size for TCP data mode
Jaroslav Kysela [Thu, 14 Sep 2017 09:45:33 +0000 (11:45 +0200)]
satip server: the data must for satip_rtp_tcp_data() must be allocated, fixes #4573
Jaroslav Kysela [Wed, 13 Sep 2017 12:05:03 +0000 (14:05 +0200)]
satip server: rtsp - fix playing session flag, issue #4499
Jaroslav Kysela [Wed, 13 Sep 2017 12:02:22 +0000 (14:02 +0200)]
satip server: rtsp - replace oldstate with playing session flag, issue #4499
Jaroslav Kysela [Tue, 12 Sep 2017 18:16:49 +0000 (20:16 +0200)]
satip server: try to change state and mux handling logic, issue #4499
Jaroslav Kysela [Tue, 12 Sep 2017 12:11:27 +0000 (14:11 +0200)]
satip server: don't bind more times to the UDP ports
Jaroslav Kysela [Tue, 12 Sep 2017 11:29:32 +0000 (13:29 +0200)]
tcp: tcp_connect - initialize bindip variable correctly, issue #4499
Jaroslav Kysela [Tue, 12 Sep 2017 11:29:25 +0000 (13:29 +0200)]
satip client: fix the error path, issue #4499
Jaroslav Kysela [Tue, 12 Sep 2017 06:30:55 +0000 (08:30 +0200)]
http: fix extra data (for SAT>IP TCP data mode), issue #4573
Jaroslav Kysela [Mon, 11 Sep 2017 12:20:53 +0000 (14:20 +0200)]
htsp: add subscription entry also for DVR files, fixes #3854