]> git.ipfire.org Git - thirdparty/tvheadend.git/log
thirdparty/tvheadend.git
12 years agoservice: trying to sort the service saving
Adam Sutton [Fri, 31 May 2013 20:45:29 +0000 (21:45 +0100)] 
service: trying to sort the service saving

12 years agoprop: added some extra sized types for clarity
Adam Sutton [Fri, 31 May 2013 19:43:17 +0000 (20:43 +0100)] 
prop: added some extra sized types for clarity

In particular I wanted to be able to use u16, as this is commonly
used within the mpegts code for various fields.

12 years agolinuxdvb: stop the correct mux!
Adam Sutton [Fri, 31 May 2013 19:18:49 +0000 (20:18 +0100)] 
linuxdvb: stop the correct mux!

12 years agotvhpoll: update all code to use new tvhpoll wrapper rather than epoll
Bernhard Froehlich [Sat, 4 May 2013 14:45:51 +0000 (16:45 +0200)] 
tvhpoll: update all code to use new tvhpoll wrapper rather than epoll

12 years agotvhpoll: corrected some mistakes and expanded usage for user data.
Adam Sutton [Fri, 31 May 2013 13:10:28 +0000 (14:10 +0100)] 
tvhpoll: corrected some mistakes and expanded usage for user data.

12 years agotvhpoll: Fix kqueue parts of the poll wrapper API
Bernhard Froehlich [Fri, 31 May 2013 09:48:40 +0000 (11:48 +0200)] 
tvhpoll: Fix kqueue parts of the poll wrapper API

12 years agotvhpoll: new epoll/kqueue wrapper API
Adam Sutton [Wed, 29 May 2013 22:39:42 +0000 (23:39 +0100)] 
tvhpoll: new epoll/kqueue wrapper API

This is to ease some of the BSD porting work that has been done and
keep the core code cleaner.

Credit to Bernhard Froehlich <decke@bluelife.at>, for the original
kqueue code that was #if'd inline with epoll code (now hidden as a
result of tidying up commits).

12 years agoFix warning because of wrong time_t format specifier on FreeBSD i386
Bernhard Froehlich [Fri, 24 May 2013 19:34:53 +0000 (21:34 +0200)] 
Fix warning because of wrong time_t format specifier on FreeBSD i386
and fix places where format specifier is hardcoded for time_t and
correctly use PRItime_t instead.

src/epg.c:1412: warning: format '%ld' expects type 'long int', but argument 7 has type 'time_t'
src/dvr/dvr_rec.c:596: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
src/epggrab/module/eit.c:536: warning: format '%lu' expects type 'long unsigned int', but argument 8 has type 'time_t'

12 years agoFix printf format modifier to build properly with CLANG.
User Decke [Mon, 6 May 2013 13:57:14 +0000 (15:57 +0200)] 
Fix printf format modifier to build properly with CLANG.

src/htsp_server.c:485:55: error: format specifies type 'short' but the argument has type 'int' [-Werror,-Wformat]
        p += snprintf(url+p, sizeof(url)-p, "%s%s%s:%hd%s",
                                                    ~~^
                                                    %d

12 years agoFix sendfile() call on FreeBSD/i386
User Decke [Mon, 6 May 2013 11:05:58 +0000 (13:05 +0200)] 
Fix sendfile() call on FreeBSD/i386

src/webui/webui.c:885: warning: passing argument 6 of 'sendfile' from incompatible pointer type

12 years agoAdd missing include for ssize_t on FreeBSD.
Bernhard Froehlich [Sun, 5 May 2013 12:49:47 +0000 (14:49 +0200)] 
Add missing include for ssize_t on FreeBSD.

src/tvhlog.h:48: error: expected declaration specifiers or '...' before 'ssize_t'
src/tvhlog.c:244: error: conflicting types for '_tvhlog_hexdump'
src/tvhlog.h:48: error: previous declaration of '_tvhlog_hexdump' was here

12 years agoAdd kqueue option and allow to disable epoll.
Bernhard Froehlich [Sat, 4 May 2013 11:56:24 +0000 (13:56 +0200)] 
Add kqueue option and allow to disable epoll.

12 years agoFix IPv4 multicasting on FreeBSD and make IPv6 multicasting optional
Bernhard Froehlich [Sat, 4 May 2013 14:34:03 +0000 (16:34 +0200)] 
Fix IPv4 multicasting on FreeBSD and make IPv6 multicasting optional
because it's not yet supported on FreeBSD.

12 years ago__u8 is not available on FreeBSD so use u_int8_t instead
Bernhard Froehlich [Sat, 4 May 2013 13:30:48 +0000 (15:30 +0200)] 
__u8 is not available on FreeBSD so use u_int8_t instead

tvheadend-3.4/src/dvb/diseqc.h:10: error: expected declaration specifiers or '...' before '__u8'
tvheadend-3.4/src/dvb/diseqc.h:11: error: expected declaration specifiers or '...' before '__u8'

12 years agoUse internal tvh_strdupa() because strdupa() is GNU only.
Bernhard Froehlich [Sat, 4 May 2013 13:10:04 +0000 (15:10 +0200)] 
Use internal tvh_strdupa() because strdupa() is GNU only.

12 years agoAdd sendfile(2) support for FreeBSD.
Bernhard Froehlich [Sat, 4 May 2013 13:08:14 +0000 (15:08 +0200)] 
Add sendfile(2) support for FreeBSD.

12 years agostime(2) is only available on Linux so make it optional.
Bernhard Froehlich [Sat, 4 May 2013 12:59:52 +0000 (14:59 +0200)] 
stime(2) is only available on Linux so make it optional.

12 years agoDumping NGREG in traphandler only if it is supported by the platform.
Bernhard Froehlich [Sat, 4 May 2013 12:57:29 +0000 (14:57 +0200)] 
Dumping NGREG in traphandler only if it is supported by the platform.

12 years agoAdd missing include for FreeBSD which has AF_INET and AF_INET6 defined in sys/socket.h
Bernhard Froehlich [Sat, 4 May 2013 12:32:57 +0000 (14:32 +0200)] 
Add missing include for FreeBSD which has AF_INET and AF_INET6 defined in sys/socket.h

tvheadend-3.4/src/webui/extjs.c: In function 'service_update_iptv':
tvheadend-3.4/src/webui/extjs.c:1748: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/webui/extjs.c:1748: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/webui/extjs.c:1748: error: for each function it appears in.)
tvheadend-3.4/src/webui/extjs.c:1749: error: 'AF_INET6' undeclared (first use in this function)
tvheadend-3.4/src/webui/extjs.c: In function 'build_record_iptv':
tvheadend-3.4/src/webui/extjs.c:1776: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/webui/extjs.c:1780: error: 'AF_INET6' undeclared (first use in this function)

12 years agoAdd missing include for FreeBSD which has AF_INET defined in sys/socket.h
Bernhard Froehlich [Sat, 4 May 2013 12:30:19 +0000 (14:30 +0200)] 
Add missing include for FreeBSD which has AF_INET defined in sys/socket.h

tvheadend-3.4/src/webui/comet.c: In function 'comet_serverIpPort':
tvheadend-3.4/src/webui/comet.c:162: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/webui/comet.c:162: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/webui/comet.c:162: error: for each function it appears in.)
tvheadend-3.4/src/webui/comet.c:164: error: 'AF_INET6' undeclared (first use in this function)

12 years agoAdd missing include for "struct iovec" which is defined in sys/uio.h
Bernhard Froehlich [Sat, 4 May 2013 12:25:59 +0000 (14:25 +0200)] 
Add missing include for "struct iovec" which is defined in sys/uio.h
on FreeBSD and also on Linux.

tvheadend-3.4/src/muxer/tvh/mkmux.c: In function 'mk_write_to_fd':
tvheadend-3.4/src/muxer/tvh/mkmux.c:347: error: invalid application of 'sizeof' to incomplete type 'struct iovec'
tvheadend-3.4/src/muxer/tvh/mkmux.c:351: error: invalid use of undefined type 'struct iovec'
tvheadend-3.4/src/muxer/tvh/mkmux.c:351: error: dereferencing pointer to incomplete type
tvheadend-3.4/src/muxer/tvh/mkmux.c:352: error: invalid use of undefined type 'struct iovec'
tvheadend-3.4/src/muxer/tvh/mkmux.c:352: error: dereferencing pointer to incomplete type
cc1: warnings being treated as errors
tvheadend-3.4/src/muxer/tvh/mkmux.c:358: warning: implicit declaration of function 'writev'
tvheadend-3.4/src/muxer/tvh/mkmux.c:364: error: invalid use of undefined type 'struct iovec'

12 years agoRead timezone from gettimeofday() to not have to rely on an globally set timezone...
Bernhard Froehlich [Sat, 4 May 2013 12:24:04 +0000 (14:24 +0200)] 
Read timezone from gettimeofday() to not have to rely on an globally set timezone variable.

12 years agoAdd missing include for FreeBSD which has AF_INET6 defined in sys/socket.h
Bernhard Froehlich [Sat, 4 May 2013 12:22:18 +0000 (14:22 +0200)] 
Add missing include for FreeBSD which has AF_INET6 defined in sys/socket.h

12 years agoAdd missing include for accept(2) on FreeBSD.
Bernhard Froehlich [Sat, 4 May 2013 12:20:29 +0000 (14:20 +0200)] 
Add missing include for accept(2) on FreeBSD.

tvheadend-3.4/src/epggrab/module.c: In function '_epggrab_socket_thread':
tvheadend-3.4/src/epggrab/module.c:357: warning: implicit declaration of function 'accept'
tvheadend-3.4/src/epggrab/module.c: In function 'epggrab_module_enable_socket':
tvheadend-3.4/src/epggrab/module.c:382: warning: implicit declaration of function 'shutdown'
tvheadend-3.4/src/epggrab/module.c:382: error: 'SHUT_RDWR' undeclared (first use in this function)
tvheadend-3.4/src/epggrab/module.c:382: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/epggrab/module.c:382: error: for each function it appears in.)
tvheadend-3.4/src/epggrab/module.c:392: warning: implicit declaration of function 'socket'
tvheadend-3.4/src/epggrab/module.c:392: error: 'AF_UNIX' undeclared (first use in this function)
tvheadend-3.4/src/epggrab/module.c:392: error: 'SOCK_STREAM' undeclared (first use in this function)
tvheadend-3.4/src/epggrab/module.c:398: warning: implicit declaration of function 'bind'
tvheadend-3.4/src/epggrab/module.c:406: warning: implicit declaration of function 'listen'

12 years agoRemove unused sys/epoll.h includes
Bernhard Froehlich [Sat, 4 May 2013 12:16:33 +0000 (14:16 +0200)] 
Remove unused sys/epoll.h includes

12 years agoAdd missing includes for shutdown(2) and SHUT_RDWR on FreeBSD.
Bernhard Froehlich [Sat, 4 May 2013 12:10:42 +0000 (14:10 +0200)] 
Add missing includes for shutdown(2) and SHUT_RDWR on FreeBSD.

tvheadend-3.4/src/cwc.c: In function 'cwc_session':
tvheadend-3.4/src/cwc.c:1139: warning: implicit declaration of function 'shutdown'
tvheadend-3.4/src/cwc.c:1139: error: 'SHUT_RDWR' undeclared (first use in this function)
tvheadend-3.4/src/cwc.c:1139: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/cwc.c:1139: error: for each function it appears in.)
tvheadend-3.4/src/cwc.c: In function 'cwc_entry_update':
tvheadend-3.4/src/cwc.c:2369: error: 'SHUT_RDWR' undeclared

12 years agoAdd missing include for FreeBSD which has AF_INET6 defined
Bernhard Froehlich [Sat, 4 May 2013 12:04:08 +0000 (14:04 +0200)] 
Add missing include for FreeBSD which has AF_INET6 defined
in sys/socket.h

tvheadend-3.4/src/access.c: In function 'netmask_verify':
tvheadend-3.4/src/access.c:164: error: dereferencing pointer to incomplete type
tvheadend-3.4/src/access.c:164: error: 'AF_INET6' undeclared (first use in this function)
tvheadend-3.4/src/access.c:164: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/access.c:164: error: for each function it appears in.)
tvheadend-3.4/src/access.c:177: error: dereferencing pointer to incomplete type
tvheadend-3.4/src/access.c:177: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/access.c:193: error: dereferencing pointer to incomplete type
tvheadend-3.4/src/access.c: In function 'access_set_prefix':
tvheadend-3.4/src/access.c:422: error: 'AF_INET6' undeclared (first use in this function)
tvheadend-3.4/src/access.c: In function 'access_record_build':
tvheadend-3.4/src/access.c:554: error: 'AF_INET6' undeclared (first use in this function)

12 years agoAvoid "install -D" because the flag is not available on FreeBSD.
Bernhard Froehlich [Sat, 4 May 2013 11:59:54 +0000 (13:59 +0200)] 
Avoid "install -D" because the flag is not available on FreeBSD.

12 years agoEnable SSL per default on FreeBSD because libssl is in base so it's always available.
Bernhard Froehlich [Sat, 4 May 2013 11:57:34 +0000 (13:57 +0200)] 
Enable SSL per default on FreeBSD because libssl is in base so it's always available.

12 years agoAdd PLATFORM_* define to config.h to allow supporting non Linux platforms.
Bernhard Froehlich [Sat, 4 May 2013 11:54:12 +0000 (13:54 +0200)] 
Add PLATFORM_* define to config.h to allow supporting non Linux platforms.

12 years agoFix kqueue parts of the poll wrapper API
Bernhard Froehlich [Fri, 31 May 2013 09:48:40 +0000 (11:48 +0200)] 
Fix kqueue parts of the poll wrapper API

12 years agoMerge WIP implementation for poll wrapper API
Bernhard Froehlich [Fri, 31 May 2013 09:46:21 +0000 (11:46 +0200)] 
Merge WIP implementation for poll wrapper API

Obtained from: https://github.com/adamsutton/tvheadend/commit/533a6cc9185396acbee743a8e11ad9b0aec535c6

12 years agolinuxdvb: started to add service saving (very rough)
Adam Sutton [Thu, 30 May 2013 21:30:16 +0000 (22:30 +0100)] 
linuxdvb: started to add service saving (very rough)

12 years agolinuxdvb: mux scanning is now working and I will not re-run unless reqd
Adam Sutton [Thu, 30 May 2013 20:47:42 +0000 (21:47 +0100)] 
linuxdvb: mux scanning is now working and I will not re-run unless reqd

12 years agompegts linuxdvb: starting to get more complete config load/save
Adam Sutton [Thu, 30 May 2013 19:55:11 +0000 (20:55 +0100)] 
mpegts linuxdvb: starting to get more complete config load/save

12 years agompegts linuxdvb: starting to get working scanning on DVB-T
Adam Sutton [Thu, 30 May 2013 15:09:47 +0000 (16:09 +0100)] 
mpegts linuxdvb: starting to get working scanning on DVB-T

Moved DVB mux config into dvb_support
Updated table processing to include proper section tracking
Fixed some problem in the MPEG-TS core
Updates to get scanning working in LinuxDVB

12 years agoMerge remote-tracking branch 'origin/pr/276'
Adam Sutton [Wed, 29 May 2013 22:44:43 +0000 (23:44 +0100)] 
Merge remote-tracking branch 'origin/pr/276'

12 years agoMerge remote-tracking branch 'origin/pr/275'
Adam Sutton [Wed, 29 May 2013 22:44:39 +0000 (23:44 +0100)] 
Merge remote-tracking branch 'origin/pr/275'

12 years agoMerge remote-tracking branch 'origin/pr/273'
Adam Sutton [Wed, 29 May 2013 22:44:24 +0000 (23:44 +0100)] 
Merge remote-tracking branch 'origin/pr/273'

12 years agolinuxdvb: starting to see data input working
Adam Sutton [Wed, 29 May 2013 13:22:22 +0000 (14:22 +0100)] 
linuxdvb: starting to see data input working

there are a lot of hacks in at the moment, need to go through and tidy
everything up.

12 years agompegts linuxdvb: add routine to create mmi's on the fly
Adam Sutton [Tue, 28 May 2013 15:27:09 +0000 (16:27 +0100)] 
mpegts linuxdvb: add routine to create mmi's on the fly

12 years agolinuxdvb: starting to add network/input connection
Adam Sutton [Sun, 26 May 2013 20:02:17 +0000 (21:02 +0100)] 
linuxdvb: starting to add network/input connection

Still just early stages, but should be able to start thinking about
getting something tuning soon.

12 years agolinuxdvb: starting to get config load/save for device tree
Adam Sutton [Sat, 25 May 2013 20:46:37 +0000 (21:46 +0100)] 
linuxdvb: starting to get config load/save for device tree

I think eventually I will re-work this to one file per entry similar
to the other trees (like network). But this will do for now.

12 years agolinuxdvb: starting to add network/mux information
Adam Sutton [Fri, 24 May 2013 20:20:56 +0000 (21:20 +0100)] 
linuxdvb: starting to add network/mux information

12 years agoFix warning because of wrong time_t format specifier on FreeBSD i386
Bernhard Froehlich [Fri, 24 May 2013 19:34:53 +0000 (21:34 +0200)] 
Fix warning because of wrong time_t format specifier on FreeBSD i386
and fix places where format specifier is hardcoded for time_t and
correctly use PRItime_t instead.

src/epg.c:1412: warning: format '%ld' expects type 'long int', but argument 7 has type 'time_t'
src/dvr/dvr_rec.c:596: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
src/epggrab/module/eit.c:536: warning: format '%lu' expects type 'long unsigned int', but argument 8 has type 'time_t'

12 years agoConvert all #ifdef ENABLE_EPOLL to #if ENABLE_EPOLL
Bernhard Froehlich [Fri, 24 May 2013 17:31:10 +0000 (19:31 +0200)] 
Convert all #ifdef ENABLE_EPOLL to #if ENABLE_EPOLL

12 years agoSync with tvheadend/master and merge in changes.
Bernhard Froehlich [Fri, 24 May 2013 17:03:40 +0000 (19:03 +0200)] 
Sync with tvheadend/master and merge in changes.

12 years agofilebundle: correct possible bug with fb_scandir() on some FSs
Adam Sutton [Fri, 24 May 2013 15:40:30 +0000 (16:40 +0100)] 
filebundle: correct possible bug with fb_scandir() on some FSs

12 years agolinuxdvb: split the adapter source into 3 files.
Adam Sutton [Fri, 24 May 2013 14:23:34 +0000 (15:23 +0100)] 
linuxdvb: split the adapter source into 3 files.

12 years agoprop: Added the concept of a RD-only property
Adam Sutton [Fri, 24 May 2013 13:58:03 +0000 (14:58 +0100)] 
prop: Added the concept of a RD-only property

Made use of the rd-only property for display only fields in the DVB
hardware tree.

12 years agolinuxdvb: starting to build up the DVB hardware tree
Adam Sutton [Fri, 24 May 2013 12:59:19 +0000 (13:59 +0100)] 
linuxdvb: starting to build up the DVB hardware tree

Still do not have anything working, just trying to get some groundwork done.

12 years agoDo not export the episode URI if it starts with tvh:// - these are just for internal...
Dave Chapman [Thu, 23 May 2013 09:10:34 +0000 (10:10 +0100)] 
Do not export the episode URI if it starts with tvh:// - these are just for internal use within tvh.

12 years agoAdd episodeUri and serieslinkUri to the HTSP eventAdd and eventUpdate messages.
Dave Chapman [Thu, 23 May 2013 08:21:29 +0000 (09:21 +0100)] 
Add episodeUri and serieslinkUri to the HTSP eventAdd and eventUpdate messages.

12 years agobuild: fix stray mod to object rule causing full rebuild everytime
Adam Sutton [Wed, 22 May 2013 15:01:07 +0000 (16:01 +0100)] 
build: fix stray mod to object rule causing full rebuild everytime

12 years agohtsp: update the EPG/HTSP hookup to send channelUpdate on next event change.
Adam Sutton [Wed, 22 May 2013 11:53:32 +0000 (12:53 +0100)] 
htsp: update the EPG/HTSP hookup to send channelUpdate on next event change.

Previously this was only being output if the current event was updated.

12 years agoRemove accidental code
Andreas Öman [Wed, 22 May 2013 07:53:27 +0000 (09:53 +0200)] 
Remove accidental code

12 years agoChange status.xml to default xml-style with only one element/tag per line 275/head
CSchlipp [Wed, 22 May 2013 07:49:33 +0000 (09:49 +0200)] 
Change status.xml to default xml-style with only one element/tag per line

Change status.xml to default xml-style with only one element/tag per line.
Makes it a lot more easier to parse the file.

12 years agoHTSP: Add subscriptionFilterStream command
Andreas Öman [Wed, 22 May 2013 07:47:25 +0000 (09:47 +0200)] 
HTSP: Add subscriptionFilterStream command

12 years agoThe lists out there set ISO8859-5 encoding for all the channels 276/head
Wojciech Myrda [Wed, 22 May 2013 07:37:20 +0000 (09:37 +0200)] 
The lists out there set ISO8859-5 encoding for all the channels
in the "Sattelite BG" digital platform from 23.5E  however hence
 several of those transponders share their channels with other
platforms this commit sets in only where it is safe meaning where
channels are used by this platform only. To set them for others
would require more testing

12 years agoI have found several ovverrides http://www.ab-forum.info/viewtopic.php?f=147&t=41393
Wojciech Myrda [Wed, 22 May 2013 07:33:29 +0000 (09:33 +0200)] 
I have found several ovverrides http://www.ab-forum.info/viewtopic.php?f=147&t=41393
that help with encoding on the platforms of Easteuropean origin for enigma2 boxes.

This commit sets encoding for Romanian channels from RCS DigiTV

12 years agoMoving skyde overrides to the beggining of the file to sort the list in the
Wojciech Myrda [Wed, 22 May 2013 07:28:34 +0000 (09:28 +0200)] 
Moving skyde overrides to the beggining of the file to sort the list in the
alphabetical order just like sattelites names go and skyde is located on Astra
hence is deserves the place in the start

12 years agoTurkish character encoding override addition based on encoding.conf from
Wojciech Myrda [Wed, 22 May 2013 07:26:06 +0000 (09:26 +0200)] 
Turkish character encoding override addition based on encoding.conf from
http://git.opendreambox.org/?p=enigma2.git;a=summary

12 years agoGreek character encoding override addition based on nonstandard_encoding from IPBox HD
Wojciech Myrda [Wed, 22 May 2013 07:20:37 +0000 (09:20 +0200)] 
Greek character encoding override addition based on nonstandard_encoding from IPBox HD

12 years agoupstream uptodate file
Wojciech Myrda [Wed, 22 May 2013 07:17:16 +0000 (09:17 +0200)] 
upstream uptodate file

12 years agoMerge remote-tracking branch 'dev/master'
Wojciech Myrda [Wed, 22 May 2013 07:10:08 +0000 (09:10 +0200)] 
Merge remote-tracking branch 'dev/master'

Conflicts:
data/conf/charset

12 years agolinuxdvb: started to work on linuxdvb code.
Adam Sutton [Tue, 21 May 2013 19:06:30 +0000 (20:06 +0100)] 
linuxdvb: started to work on linuxdvb code.

Lots of in progress stuff but its been sat uncommitted for a few weeks
due to inactivity and I don't want to lose it due to stupidity!

12 years agoREADME updated 273/head
Vuolter [Fri, 3 May 2013 13:12:09 +0000 (15:12 +0200)] 
README updated

12 years agoBump HTSP protocol version to 11 for the recent transcoding changes and the addition... htsp/11
Dave Chapman [Mon, 13 May 2013 10:23:26 +0000 (11:23 +0100)] 
Bump HTSP protocol version to 11 for the recent transcoding changes and the addition of the audio_type field

12 years agoAdd saving/loading of audio_type, and also display it in the webui
Dave Chapman [Mon, 13 May 2013 09:39:35 +0000 (10:39 +0100)] 
Add saving/loading of audio_type, and also display it in the webui

12 years agoParse the audio_type field of the iso639_language_descriptor - this indicates if...
Dave Chapman [Mon, 13 May 2013 08:27:01 +0000 (09:27 +0100)] 
Parse the audio_type field of the iso639_language_descriptor - this indicates if the audio stream contains audio description for the hard of hearing.  Use this value when regenerating the PMT for the passthrough muxer, and also include it in the HTSP stream description messages.

12 years agoAdded initial support for transcoding.
John Törblom [Thu, 9 May 2013 19:51:27 +0000 (21:51 +0200)] 
Added initial support for transcoding.

12 years agodvb: fix mistake in NIT processing.
Adam Sutton [Fri, 10 May 2013 14:10:54 +0000 (15:10 +0100)] 
dvb: fix mistake in NIT processing.

This was stopping some DVB-C networks from being properly scanned.

12 years agompegts: added missing LCN processing
Adam Sutton [Fri, 10 May 2013 13:31:58 +0000 (14:31 +0100)] 
mpegts: added missing LCN processing

12 years agompegts: lots more work on PSI processing.
Adam Sutton [Fri, 10 May 2013 13:24:05 +0000 (14:24 +0100)] 
mpegts: lots more work on PSI processing.

I think most tables are now processed and are making the relevant calls
into the mpegts system to update/create entities.

12 years agompegts: fix NIT parsing bug
Adam Sutton [Thu, 9 May 2013 16:25:18 +0000 (17:25 +0100)] 
mpegts: fix NIT parsing bug

12 years agompegts tsfile: lots of reworking to get psi processing working
Adam Sutton [Thu, 9 May 2013 15:33:53 +0000 (16:33 +0100)] 
mpegts tsfile: lots of reworking to get psi processing working

12 years agoFix printf format modifier to build properly with CLANG.
User Decke [Mon, 6 May 2013 13:57:14 +0000 (15:57 +0200)] 
Fix printf format modifier to build properly with CLANG.

src/htsp_server.c:485:55: error: format specifies type 'short' but the argument has type 'int' [-Werror,-Wformat]
        p += snprintf(url+p, sizeof(url)-p, "%s%s%s:%hd%s",
                                                    ~~^
                                                    %d

12 years agoFix sendfile() call on FreeBSD/i386
User Decke [Mon, 6 May 2013 11:05:58 +0000 (13:05 +0200)] 
Fix sendfile() call on FreeBSD/i386

src/webui/webui.c:885: warning: passing argument 6 of 'sendfile' from incompatible pointer type

12 years agoAdd missing include for ssize_t on FreeBSD.
Bernhard Froehlich [Sun, 5 May 2013 12:49:47 +0000 (14:49 +0200)] 
Add missing include for ssize_t on FreeBSD.

src/tvhlog.h:48: error: expected declaration specifiers or '...' before 'ssize_t'
src/tvhlog.c:244: error: conflicting types for '_tvhlog_hexdump'
src/tvhlog.h:48: error: previous declaration of '_tvhlog_hexdump' was here

12 years agoAdd kqueue support and make epoll optional.
Bernhard Froehlich [Sat, 4 May 2013 14:50:45 +0000 (16:50 +0200)] 
Add kqueue support and make epoll optional.

12 years agoAdd kqueue support and make epoll optional.
Bernhard Froehlich [Sat, 4 May 2013 14:45:51 +0000 (16:45 +0200)] 
Add kqueue support and make epoll optional.

12 years agoFix IPv4 multicasting on FreeBSD and make IPv6 multicasting optional
Bernhard Froehlich [Sat, 4 May 2013 14:34:03 +0000 (16:34 +0200)] 
Fix IPv4 multicasting on FreeBSD and make IPv6 multicasting optional
because it's not yet supported on FreeBSD.

12 years ago__u8 is not available on FreeBSD so use u_int8_t instead
Bernhard Froehlich [Sat, 4 May 2013 13:30:48 +0000 (15:30 +0200)] 
__u8 is not available on FreeBSD so use u_int8_t instead

tvheadend-3.4/src/dvb/diseqc.h:10: error: expected declaration specifiers or '...' before '__u8'
tvheadend-3.4/src/dvb/diseqc.h:11: error: expected declaration specifiers or '...' before '__u8'

12 years agoUse internal tvh_strdupa() because strdupa() is GNU only.
Bernhard Froehlich [Sat, 4 May 2013 13:10:04 +0000 (15:10 +0200)] 
Use internal tvh_strdupa() because strdupa() is GNU only.

12 years agoAdd sendfile(2) support for FreeBSD.
Bernhard Froehlich [Sat, 4 May 2013 13:08:14 +0000 (15:08 +0200)] 
Add sendfile(2) support for FreeBSD.

12 years agostime(2) is only available on Linux so make it optional.
Bernhard Froehlich [Sat, 4 May 2013 12:59:52 +0000 (14:59 +0200)] 
stime(2) is only available on Linux so make it optional.

12 years agoDumping NGREG in traphandler only if it is supported by the platform.
Bernhard Froehlich [Sat, 4 May 2013 12:57:29 +0000 (14:57 +0200)] 
Dumping NGREG in traphandler only if it is supported by the platform.

12 years agoAdd missing include for FreeBSD which has AF_INET and AF_INET6 defined in sys/socket.h
Bernhard Froehlich [Sat, 4 May 2013 12:32:57 +0000 (14:32 +0200)] 
Add missing include for FreeBSD which has AF_INET and AF_INET6 defined in sys/socket.h

tvheadend-3.4/src/webui/extjs.c: In function 'service_update_iptv':
tvheadend-3.4/src/webui/extjs.c:1748: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/webui/extjs.c:1748: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/webui/extjs.c:1748: error: for each function it appears in.)
tvheadend-3.4/src/webui/extjs.c:1749: error: 'AF_INET6' undeclared (first use in this function)
tvheadend-3.4/src/webui/extjs.c: In function 'build_record_iptv':
tvheadend-3.4/src/webui/extjs.c:1776: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/webui/extjs.c:1780: error: 'AF_INET6' undeclared (first use in this function)

12 years agoAdd missing include for FreeBSD which has AF_INET defined in sys/socket.h
Bernhard Froehlich [Sat, 4 May 2013 12:30:19 +0000 (14:30 +0200)] 
Add missing include for FreeBSD which has AF_INET defined in sys/socket.h

tvheadend-3.4/src/webui/comet.c: In function 'comet_serverIpPort':
tvheadend-3.4/src/webui/comet.c:162: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/webui/comet.c:162: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/webui/comet.c:162: error: for each function it appears in.)
tvheadend-3.4/src/webui/comet.c:164: error: 'AF_INET6' undeclared (first use in this function)

12 years agoAdd missing include for "struct iovec" which is defined in sys/uio.h
Bernhard Froehlich [Sat, 4 May 2013 12:25:59 +0000 (14:25 +0200)] 
Add missing include for "struct iovec" which is defined in sys/uio.h
on FreeBSD and also on Linux.

tvheadend-3.4/src/muxer/tvh/mkmux.c: In function 'mk_write_to_fd':
tvheadend-3.4/src/muxer/tvh/mkmux.c:347: error: invalid application of 'sizeof' to incomplete type 'struct iovec'
tvheadend-3.4/src/muxer/tvh/mkmux.c:351: error: invalid use of undefined type 'struct iovec'
tvheadend-3.4/src/muxer/tvh/mkmux.c:351: error: dereferencing pointer to incomplete type
tvheadend-3.4/src/muxer/tvh/mkmux.c:352: error: invalid use of undefined type 'struct iovec'
tvheadend-3.4/src/muxer/tvh/mkmux.c:352: error: dereferencing pointer to incomplete type
cc1: warnings being treated as errors
tvheadend-3.4/src/muxer/tvh/mkmux.c:358: warning: implicit declaration of function 'writev'
tvheadend-3.4/src/muxer/tvh/mkmux.c:364: error: invalid use of undefined type 'struct iovec'

12 years agoRead timezone from gettimeofday() to not have to rely on an globally set timezone...
Bernhard Froehlich [Sat, 4 May 2013 12:24:04 +0000 (14:24 +0200)] 
Read timezone from gettimeofday() to not have to rely on an globally set timezone variable.

12 years agoAdd missing include for FreeBSD which has AF_INET6 defined in sys/socket.h
Bernhard Froehlich [Sat, 4 May 2013 12:22:18 +0000 (14:22 +0200)] 
Add missing include for FreeBSD which has AF_INET6 defined in sys/socket.h

12 years agoAdd missing include for accept(2) on FreeBSD.
Bernhard Froehlich [Sat, 4 May 2013 12:20:29 +0000 (14:20 +0200)] 
Add missing include for accept(2) on FreeBSD.

tvheadend-3.4/src/epggrab/module.c: In function '_epggrab_socket_thread':
tvheadend-3.4/src/epggrab/module.c:357: warning: implicit declaration of function 'accept'
tvheadend-3.4/src/epggrab/module.c: In function 'epggrab_module_enable_socket':
tvheadend-3.4/src/epggrab/module.c:382: warning: implicit declaration of function 'shutdown'
tvheadend-3.4/src/epggrab/module.c:382: error: 'SHUT_RDWR' undeclared (first use in this function)
tvheadend-3.4/src/epggrab/module.c:382: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/epggrab/module.c:382: error: for each function it appears in.)
tvheadend-3.4/src/epggrab/module.c:392: warning: implicit declaration of function 'socket'
tvheadend-3.4/src/epggrab/module.c:392: error: 'AF_UNIX' undeclared (first use in this function)
tvheadend-3.4/src/epggrab/module.c:392: error: 'SOCK_STREAM' undeclared (first use in this function)
tvheadend-3.4/src/epggrab/module.c:398: warning: implicit declaration of function 'bind'
tvheadend-3.4/src/epggrab/module.c:406: warning: implicit declaration of function 'listen'

12 years agoRemove unused sys/epoll.h includes
Bernhard Froehlich [Sat, 4 May 2013 12:16:33 +0000 (14:16 +0200)] 
Remove unused sys/epoll.h includes

12 years agoAdd missing includes for shutdown(2) and SHUT_RDWR on FreeBSD.
Bernhard Froehlich [Sat, 4 May 2013 12:10:42 +0000 (14:10 +0200)] 
Add missing includes for shutdown(2) and SHUT_RDWR on FreeBSD.

tvheadend-3.4/src/cwc.c: In function 'cwc_session':
tvheadend-3.4/src/cwc.c:1139: warning: implicit declaration of function 'shutdown'
tvheadend-3.4/src/cwc.c:1139: error: 'SHUT_RDWR' undeclared (first use in this function)
tvheadend-3.4/src/cwc.c:1139: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/cwc.c:1139: error: for each function it appears in.)
tvheadend-3.4/src/cwc.c: In function 'cwc_entry_update':
tvheadend-3.4/src/cwc.c:2369: error: 'SHUT_RDWR' undeclared

12 years agoAdd missing include for FreeBSD which has AF_INET6 defined
Bernhard Froehlich [Sat, 4 May 2013 12:04:08 +0000 (14:04 +0200)] 
Add missing include for FreeBSD which has AF_INET6 defined
in sys/socket.h

tvheadend-3.4/src/access.c: In function 'netmask_verify':
tvheadend-3.4/src/access.c:164: error: dereferencing pointer to incomplete type
tvheadend-3.4/src/access.c:164: error: 'AF_INET6' undeclared (first use in this function)
tvheadend-3.4/src/access.c:164: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/access.c:164: error: for each function it appears in.)
tvheadend-3.4/src/access.c:177: error: dereferencing pointer to incomplete type
tvheadend-3.4/src/access.c:177: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/access.c:193: error: dereferencing pointer to incomplete type
tvheadend-3.4/src/access.c: In function 'access_set_prefix':
tvheadend-3.4/src/access.c:422: error: 'AF_INET6' undeclared (first use in this function)
tvheadend-3.4/src/access.c: In function 'access_record_build':
tvheadend-3.4/src/access.c:554: error: 'AF_INET6' undeclared (first use in this function)

12 years agoAvoid "install -D" because the flag is not available on FreeBSD.
Bernhard Froehlich [Sat, 4 May 2013 11:59:54 +0000 (13:59 +0200)] 
Avoid "install -D" because the flag is not available on FreeBSD.

12 years agoEnable SSL per default on FreeBSD because libssl is in base so it's always available.
Bernhard Froehlich [Sat, 4 May 2013 11:57:34 +0000 (13:57 +0200)] 
Enable SSL per default on FreeBSD because libssl is in base so it's always available.

12 years agoAdd kqueue option and allow to disable epoll.
Bernhard Froehlich [Sat, 4 May 2013 11:56:24 +0000 (13:56 +0200)] 
Add kqueue option and allow to disable epoll.

12 years agoAdd PLATFORM_* define to config.h to allow supporting non Linux platforms.
Bernhard Froehlich [Sat, 4 May 2013 11:54:12 +0000 (13:54 +0200)] 
Add PLATFORM_* define to config.h to allow supporting non Linux platforms.