Bernhard Froehlich
226ae844bc
build: declare environ explicitly on FreeBSD
...
src/trap.c:107: error: 'environ' undeclared (first use in this function)
2014-01-10 20:51:26 +00:00
Bernhard Froehlich
9fd07c65a4
build: Add missing include for Dl_info on FreeBSD which is only used
...
when execinfo is enabled.
src/trap.c:144: error: 'Dl_info' undeclared (first use in this function)
src/trap.c:144: error: expected ';' before 'dli'
cc1: warnings being treated as errors
src/trap.c:187: warning: implicit declaration of function 'dladdr'
src/trap.c:187: error: 'dli' undeclared (first use in this function)
2014-01-10 20:49:23 +00:00
Bernhard Froehlich
0370fb3e41
pthread: Add missing include for pthread_set_name_np(3)
2014-01-10 20:40:31 +00:00
Bernhard Froehlich
4559e36dc1
pthread: Set name of thread for easier debugging on FreeBSD
2014-01-08 14:39:26 +00:00
Bernhard Froehlich
727357e1bd
Revert "freebsd: Assume all devices on FreeBSD are USB 2.0 per default because"
...
This reverts commit fd75ad6d3d71429f9e82339bd5abdb391725923b.
2014-01-08 14:32:52 +00:00
Bernhard Froehlich
c21d42e4ce
misc: Add ifdefs for linux specific prctl(2)
2014-01-05 22:13:12 +01:00
Bernhard Froehlich
ffff0b34c4
freebsd: Assume all devices on FreeBSD are USB 2.0 per default because
...
FreeBSD does not have sysfs to read the device speed and type properly.
The good thing is that there are no PCI devices that support V4L right
now so all supported devices are from webcamd which only supports USB
devices so that default is always correct.
2014-01-05 22:02:18 +01:00
Bernhard Froehlich
7bf3a13d67
build: Fix clang compiler warning
2014-01-05 21:59:29 +01:00
Bernhard Froehlich
d2e4af6529
build: Hide glibc workarounds in PLATFORM_LINUX because it does only make sense on Linux.
2014-01-05 21:53:28 +01:00
Bernhard Froehlich
8093e67b55
install: Properly install manpages in mandir/man1 which also fixes Bug#1064.
2014-01-05 21:47:25 +01:00
User Decke
9f9f816a34
build: Fix compiler warning and properly cast return value of pthread_self() to long
2014-01-04 22:23:46 +00:00
User Decke
b9344a0f3b
build: Fix compile warning with clang 3.3
...
src/descrambler/cwc.c:493:11: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
if (len < 0) return -1;
~~~ ^ ~
2014-01-04 22:16:58 +00:00
User Decke
5b45773014
misc: Consistently use hts_strdupa() instead of libc strdupa() which is Linux specific.
2014-01-04 22:08:43 +00:00
Adam Sutton
2d1bd1a254
mpegts: fix broken input handling for inputs with >1 active services..
...
This affects IPTV where there is only 1 input, if 2 services have the same PIDs
then both services were receiving each others packets and causing a mess!
I think later on I should really remove the transport list from the input and
have it on the mux? I think I did it this way to keep some things simpler, but
it's caused confusion here.
This should fix #1875 .
2014-01-02 21:31:37 +00:00
Adam Sutton
af15bb2f1c
Merge pull request #316 from bluzee/master
...
linuxdvb: fix typo in diseqc toneburst switch setting. Fixes #1856
2014-01-02 11:10:09 -08:00
bluzee
fe073a14d1
linuxdvb: Typo. Fixes #1856
2014-01-02 09:45:54 -07:00
Adam Sutton
4d5c8a9ae2
zlib: fix error on partial compression of files. Fixes #1902 .
...
This occurs where compressing small, already compressd files, typically images.
I could avoid compression of very small (or already compressed) files. But its
simple to keep things uniform and fixing this makes sense anyway!
2014-01-01 12:48:39 +00:00
Adam Sutton
688e0bef1f
vendor: add historic DVB API headers
...
This is useful for validating new code against older versions (and newer).
2013-12-31 15:56:20 +00:00
Adam Sutton
b28e060415
webui: make EPG grid stateful. Fixes #1025 .
2013-12-30 23:14:53 +00:00
Adam Sutton
fa6265d182
webui: add checkbox selector to all idnode grids. Fixes #1473 .
2013-12-30 22:45:13 +00:00
Adam Sutton
2dbebfd81c
support: fix IPTV configuration migration for disabled/unmapped channels
2013-12-30 14:43:56 +00:00
Adam Sutton
f75037aee7
http htsp: fix status handling. Race condition caused NULL ptr exception. Fixes #1898 .
2013-12-30 09:19:14 +00:00
Adam Sutton
aea03049a0
mpegts: ensure init scan completes properly
...
I was not properly checking completion on table completion and CAT processing
was not marking that table as complete (ever).
2013-12-29 23:38:31 +00:00
Adam Sutton
403f2af9b9
mepgts: correct invalid interpretation of service type in VCT. Fixes #1857 .
2013-12-29 23:04:51 +00:00
Adam Sutton
50f0dc7f9c
main: provide option to make daemon dumpable
2013-12-27 23:39:37 +00:00
Adam Sutton
88e06607b0
mpegts: ensure that PCR (and PMT) are properly opened by service and recorded.
...
Fixes #1884 .
2013-12-24 23:49:39 +00:00
Adam Sutton
821a854d90
support: updated some random helper scripts
2013-12-24 23:48:02 +00:00
Adam Sutton
a0f2bebcc5
iptv: allow non-multicast IPTV (useful for testing)
...
I don't actually check for valid MC group address, I simply try and add group
and just warn if it fails (but carry on anyway).
2013-12-23 23:56:10 +00:00
Adam Sutton
4226ea5e31
iptv: ensure startup will not block installation of PID filters
2013-12-23 23:55:57 +00:00
Adam Sutton
8438dfd7a6
epggrab: reduce spam in the logs, fixes #1839 .
2013-12-23 23:01:52 +00:00
Adam Sutton
a8ce127dee
epggrab: ensure / in channel ID doesn't cause config failure. Fixes #1774 .
2013-12-23 22:37:27 +00:00
Adam Sutton
0c039fc2f4
build: add default Autobuild job (debian)
...
This works fine for most native compilations, so saves spec'ing anything else.
2013-12-23 21:25:38 +00:00
Adam Sutton
89f9cf40ae
misc: add qsort_r replacement for glibc < 2.8. Fixes #1871
2013-12-22 21:45:53 +00:00
Adam Sutton
da3473368c
mpegts: fix some minor compilation issues on older gcc
2013-12-22 21:45:53 +00:00
Adam Sutton
63cdff215f
linuxdvb: work around bug in gcc <4.6. Fixes #1869
2013-12-22 21:45:53 +00:00
Adam Sutton
cd92bb0ce3
linuxdvb: move FE status message from trace to debug on change
...
This could still be spammy if the signal isn't clean and keeps going
in and out. But that's just tough luck I guess!
2013-12-22 21:45:53 +00:00
Adam Sutton
b15f65490a
linuxdvb: possible HW race condition, LNB might not switch LO before FE locks
2013-12-22 21:45:53 +00:00
Adam Sutton
3e11bc4f13
support: remove stray commenting out of stderr redirect
2013-12-22 20:55:38 +00:00
Adam Sutton
13864f9eac
mpegts: update to the way init scan table completion is handled
...
Should be a bit better at handling tables that may or may not exist.
We have an initial timeout after which we check if data for any tables
has been received but incomplete.
This is still far from ideal, really what is needed is to make this
all more async based on when we sync etc... but this will do for now.
2013-12-21 22:35:25 +00:00
Adam Sutton
70bf35b6f6
main: add some (commented out) debug for gtimer and fixed minor issue in gtimercmp
...
The issue should be benign, equal timers were always reported -1, not right.
2013-12-21 22:35:25 +00:00
Adam Sutton
57b7b33d3a
main: Fix stupid typo in tsfile ATSC option flag
2013-12-21 22:35:25 +00:00
Adam Sutton
89d7bb308f
capmt: fix silly error in capmt record building with new connected field
2013-12-18 19:21:13 +00:00
Adam Sutton
7d6f932bd5
capmt: attempt to avoid confusion over validity of configuration
...
UI now has 3 possible colours, red - not working, orange - not connected
(but will probably work, used for new non-persistent mode 2) and green -
actively connected.
2013-12-18 18:53:02 +00:00
Adam Sutton
c76b10fc18
Merge remote-tracking branch 'origin/pr/311'
2013-12-18 18:12:30 +00:00
Adam Sutton
e67a30c225
iptv: stop possible crash on IPTV mux tune failure
2013-12-17 22:26:18 +00:00
Adam Sutton
dae84cec66
support: add basic IPTV migration to conf_migrate script
2013-12-17 21:53:50 +00:00
Mariusz Bialonczyk
2db7becc5b
capmt: adjust for recent OSCam frame change
...
Additional byte describing adapter index was
added to the beginning of the frame.
It only affect tvh capmt mode 2.
2013-12-13 09:21:24 +01:00
Adam Sutton
6f62adc287
linuxdvb: fix bug stopping adapter path fallback working. fixes #1855 .
2013-12-12 22:32:16 +00:00
Adam Sutton
6c3aca2880
support: add ccache support to configure script
2013-12-12 22:28:45 +00:00
Adam Sutton
3e41a7610d
linuxdvb: was not storing ATSC configuration, fixes #1867 .
2013-12-12 22:28:07 +00:00