Commit graph

3243 commits

Author SHA1 Message Date
John Törblom
7ac5542e20 transcoding: added initial UI for watching webm/hls streams in browser.
Navigation is very primitive. clicking on the logo will step up in
channel list, or you can use the up/down arrows on the keyboard. No UI
for listing channels is available, as this is more of a test to see
what browser are working.
2013-07-18 14:19:36 +02:00
John Törblom
36d27047dd transcoding: avoid resetting thread_count to default value (zero). 2013-07-17 17:31:33 +02:00
John Törblom
2f3e37232d muxer: added initial support for the webm container 2013-07-17 16:45:00 +02:00
John Törblom
08bd137d6f transcoding: added initial support for vorbis. might suffer from sync problems when frames are dropped earlier in the pipe line 2013-07-17 16:26:48 +02:00
John Törblom
e4b9f5960d transcoding: added intial support for VP8 (matroska container only) 2013-07-17 16:04:06 +02:00
John Törblom
b7e4f3f064 transcoding: copy transcoding paramaters from a playlist GET request to the url inside the generated m3u8 file 2013-07-17 15:08:45 +02:00
John Törblom
f7da029e9d transcoding: sanitize resolution 2013-07-17 15:08:37 +02:00
Adam Sutton
5956233917 filebundle: reverse changes made in PR283
The zlib input buffer is not defined const, therefore the extra malloc/memcpy
is required.
2013-07-05 09:33:49 +01:00
Benny Morgan
5ddd073621 - Fix - finally I remember what the purpose of that assert was. 2013-07-02 23:27:28 +02:00
Benny Morgan
360ca58ad1 - Remove assert - don't see why that assert should be - it only makes tvheadend crash for me 2013-07-02 23:19:32 +02:00
Benny Morgan
e47ddddb7c - Move dvb_charset_list from dvb_charset.h to dvb_charset.c, and make it static 2013-06-30 22:16:02 +02:00
Benny Morgan
3b38a9e012 - Fix - allocate space for the '\0' character for tvheadend_webroot 2013-06-30 22:13:20 +02:00
Benny Morgan
4f3cf8e695 - Fix - In case that num parameter was NULL, epg_episode_num_deserialize funcion would return newly calloc'd
epg_episode_num_t, but it's never used like this, so better remove the calloc, and make it void return.
2013-06-30 21:55:24 +02:00
Benny Morgan
e894b01306 - Fix - exchange a fixed malloc(50) to char addrstr[50] - no need for malloc here 2013-06-30 21:52:21 +02:00
Benny Morgan
6fc536e014 - Fix - exchange char* portBuf = malloc(6) to char* port_buf[6] - no need for malloc here 2013-06-30 21:50:58 +02:00
Benny Morgan
61491f394a - Fix - buf is assigned to to cm->cm_data with is defined 'uint8_t cm_data[CWS_NETMSGSIZE];' part of the cwc_message_t, never malloc'd and should be free'd 2013-06-30 21:49:08 +02:00
Benny Morgan
97af8f63e3 - Fix - instead of make a fixed malloc(50), just do a char addrstr[50] 2013-06-30 21:41:16 +02:00
Benny Morgan
55a0e92a67 - Fix memory leak - st->es_section allocated in tsdemux.c - line 108, was not free'd 2013-06-30 21:39:34 +02:00
Benny Morgan
19b39e4159 - Fix memory leak - After cwc_running is set to 0 in capmt_destroy, capmt and capmt->id was not free'd 2013-06-30 21:35:43 +02:00
Benny Morgan
edd4816065 - Fix memory leak - In case that img is already in cache, img->url was not free'd 2013-06-30 21:31:49 +02:00
Benny Morgan
21a622986f - Fix memory leaks - Some fields in tda was not free'd. tda_rootpath, tda_fe_path, tda_demux_path and tda_dvr_path 2013-06-30 21:19:15 +02:00
Benny Morgan
94be891496 - Fix memory leak - cfg is was free'd allocated in dvr_config_create - line 1218 2013-06-30 21:11:22 +02:00
Benny Morgan
8fd70d013f - Fix memory leak - in case htmsg_binary_des0 return's something < 0, n and f was not free'd 2013-06-30 21:09:09 +02:00
Benny Morgan
901473d7e7 - Fix memory leak - dtf in tda->tda_table_feed queue, malloc'd in dvb_adapter.c - line 1115 was not free'd 2013-06-30 20:18:13 +02:00
Benny Morgan
84e851df05 - Fix memory leak - free tda->tda_fe_info in dvb_adapter_destroy 2013-06-30 20:15:13 +02:00
Benny Morgan
6dbd6a3cf8 - Fix memory leak - cwc->cwc_id and cwc->cwc_viaccess_emm.shared_emm may are not free'd on cleanup 2013-06-30 20:10:56 +02:00
Benny Morgan
7eab6185e9 - Fix memory leak - free cwc->cwc_cryptoworks_emm.shared_emm before set to NULL, if not NULL it must be malloc'd on line 1839 (case 0x84) 2013-06-30 20:07:38 +02:00
Benny Morgan
b1fa9aa040 - Fix possible memory leak - hc->hc_reply queue may hold malloc'd memory after return of http_server_requests 2013-06-30 19:27:48 +02:00
Adam Sutton
e343bfdcca Merge pull request #281 from petriposio/issue/1689
Description tag fix
2013-06-24 04:41:05 -07:00
pete
c58e7cbf09 Description tag fix 2013-06-24 01:58:19 +03:00
Dave Chapman
6cb8eaae8d Only compare the serieslink field when comparing an event with a serieslink auto recording. Previously tvh was also comparing other fields, including title, which broke some serieslink recordings (e.g. if the episodes had unique titles). Fix by adamsutton. 2013-06-17 22:06:05 +01:00
John Törnblom
2a9ccdd8bc libav: fixed compiling issues with more recent versions of libavcodec 2013-06-07 13:11:09 +02:00
Adam Sutton
5513b44f30 Merge remote-tracking branch 'origin/pr/277' 2013-06-02 11:55:57 +01:00
James Hannah
aab90516eb Bring the TVH_ARGS variable into the Debian init script
This is defined in the Defaults file but then not included in the init
script.
2013-06-02 11:30:57 +01:00
Bernhard Froehlich
5d91d3b9ad Fix compile errors for kqueue on FreeBSD.
src/tvhpoll.c:127: warning: assignment makes pointer from integer without a cast
src/tvhpoll.c:179: warning: assignment makes integer from pointer without a cast
2013-06-02 12:06:10 +02:00
Bernhard Froehlich
0afd2ae15f Add missing includes for FreeBSD.
src/tcp.c:38: error: 'AF_INET' undeclared here (not in a function)
src/tcp.c:99: error: 'SOCK_STREAM' undeclared (first use in this function)
src/tcp.c:121: error: 'AF_INET6' undeclared (first use in this function)
src/tcp.c:159: error: 'SOL_SOCKET' undeclared (first use in this function)
src/tcp.c:159: error: 'SO_ERROR' undeclared (first use in this function)
2013-06-02 12:03:26 +02:00
Bernhard Froehlich
7082d8da77 Merge remote-tracking branch 'upstream/master' after all FreeBSD
related changes have been merged from upstream.
2013-06-02 11:30:50 +02:00
Bernhard Froehlich
17b16d7a76 tvhpoll: update all code to use new tvhpoll wrapper rather than epoll 2013-05-31 14:22:29 +01:00
Adam Sutton
7d122d8dea tvhpoll: corrected some mistakes and expanded usage for user data. 2013-05-31 14:22:29 +01:00
Bernhard Froehlich
a2ef8e9c94 tvhpoll: Fix kqueue parts of the poll wrapper API 2013-05-31 14:22:29 +01:00
Adam Sutton
ee5d2171d5 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).
2013-05-31 14:21:25 +01:00
Bernhard Froehlich
9a0d477acd 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'
2013-05-31 14:19:26 +01:00
User Decke
138e73eb26 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
2013-05-31 14:19:26 +01:00
User Decke
d137cc0073 Fix sendfile() call on FreeBSD/i386
src/webui/webui.c:885: warning: passing argument 6 of 'sendfile' from incompatible pointer type
2013-05-31 14:19:26 +01:00
Bernhard Froehlich
f22d3e0fb2 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
2013-05-31 14:19:26 +01:00
Bernhard Froehlich
04199db013 Add kqueue option and allow to disable epoll. 2013-05-31 14:19:26 +01:00
Bernhard Froehlich
cf74b5f1c9 Fix IPv4 multicasting on FreeBSD and make IPv6 multicasting optional
because it's not yet supported on FreeBSD.
2013-05-31 14:19:26 +01:00
Bernhard Froehlich
2d6c12222c __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'
2013-05-31 14:19:26 +01:00
Bernhard Froehlich
0ac56f0be8 Use internal tvh_strdupa() because strdupa() is GNU only. 2013-05-31 14:19:25 +01:00
Bernhard Froehlich
f24ea24b26 Add sendfile(2) support for FreeBSD. 2013-05-31 14:19:25 +01:00