Commit graph

38 commits

Author SHA1 Message Date
Sam Stenvall
396700797b [utils] add url_encode() function 2015-01-09 13:34:03 +01:00
Jaroslav Kysela
d254f520a6 utils: trivial cleanups 2014-12-05 22:46:01 +01:00
Jaroslav Kysela
4a0f9bf1e3 cosmetic change for sri table 2014-10-16 18:05:27 +02:00
Jaroslav Kysela
bc1d444ed9 settings: coverity - possible buf overflow 2014-10-03 16:58:39 +02:00
Jaroslav Kysela
dbd5b24dbd make deltaU32() as inline fcn 2014-08-18 20:21:16 +02:00
Ullrich kossow
17f7c150a8 Corrected some unsigned int comparisons 2014-08-18 20:12:32 +02:00
Damjan Marion
d1c04df5a4 fix building on OS X and FreeBSD 2014-06-10 18:03:50 +02:00
Jaroslav Kysela
db59cf12a5 capmt: recode - use polling and write queue 2014-06-10 14:02:35 +02:00
perexg
d490918540 Merge pull request #364 from ProfYaffle/master
Addition of user options for file and directory permissions
2014-05-21 09:12:08 +02:00
Ian
5bb95e2698 Formatting cleanup plus change from tvhlog to tvhtrace as per @perexg comments 2014-05-20 21:28:14 +01:00
Jaroslav Kysela
a3ad55f64c 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
2014-05-05 22:00:35 +02:00
Adam Sutton
279e7cbfea util: added sbuf_read() to allow reading from FD straight into sbuf 2014-04-14 17:51:03 +01:00
Ian
2e66b0e1b7 Final fix for user permissions (file/directory) on recordings. I hope! 2014-04-04 17:57:49 +01:00
Ian
c0db0f2bd9 Rework on the addition of user options for file/dir permissions
Note that this will not work without the intervention of someone who actually knows what they're doing ;-)
2014-04-04 16:46:56 +01:00
Ian
61e6d67528 Further refactor of dvr config page and options; addition of user options for file and directory permissions throughout. 2014-03-30 11:33:34 +01:00
Jaroslav Kysela
dee579ea2a The sbuf allocation cleanups
This is an attempt to fix the nonoptimal memory allocations. The old
code tries to allocate new chunks based on maximum packet value, but
the streams contain mostly short chunks. Also, in some cases, we know
the fixed sbuf size, so use it.
2014-03-14 21:10:51 +01:00
Jaroslav Kysela
c6446b1eef PID lookup, streaming pad filter and sbuf alloc optimizations
There is high probability (because of the "nature" of TS streams) that
next PID will match previous one. This patch tries to do simple "caching"
of last PID to speedup PID lookups.

The streaming pad filter is handled faster way now.

Also, sbuf allocations routines are optimized (better sb_size prediction and
allocation routine is called only on demand - not all time).
2014-03-07 20:35:19 +00:00
Adam Sutton
4b73a651cf mpegts: starting to get table input working for tsfile
I have realised that for iptv style setups the current arrangement
will be problematic. The main issue is having the table filter
and top level processing based on the mpegts_input. Since for IPTV
its most likely that we'll only have one mpegts_input with a bunch
of different muxes currently active.
2013-04-27 20:00:10 +01:00
Adam Sutton
97c739b572 Fix #1517 - escape regexp special chars before adding autorec rule.
This stops autorec rules entered from event failing to detect events.
2013-01-19 19:49:19 +00:00
Adam Sutton
b1d20d3255 Issue #1458 - fix unint variable. 2012-12-19 20:04:56 +00:00
Adam Sutton
41f1c671f0 util: Add util function to remove an entire directory tree (dangerous?). 2012-11-28 09:43:13 +00:00
Adam Sutton
6254fb5622 util: Added a generic makedirs replacement for the 2 diff implementations. 2012-11-28 09:43:13 +00:00
Adam Sutton
ea99a318d1 DEBUG: extra func in hexdump. 2012-09-10 20:54:53 +01:00
Adam Sutton
58209cd184 Initial stab at new transparent file bundling. 2012-08-14 20:02:37 +01:00
Adam Sutton
2d2aa37064 Add some of the missing stuff to xmltv and EIT. I think the only significant issue now is series numbering in XMLTV. 2012-07-30 15:47:54 +01:00
Andreas Öman
fb106fa1df Correctly multiplex h264 in MKV
Patch by patrick boissonade
Some adaption (drop dep on libav) by andoma
2011-10-29 23:01:02 +02:00
Andreas Öman
8a5567dda4 Add some helers to sbuf 2011-10-29 22:48:41 +02:00
Andreas Öman
42adea653d Rename tvhead.h -> tvheadend.h 2010-11-29 19:25:24 +00:00
sb1066
5c803bcdf0 set sb_data to NULL when the memory is released. Fixes segfault when streaming over rtsp/http 2010-07-09 20:09:53 +00:00
Andreas Öman
6f85b14767 Refactor parsing buffer handling + better constification 2010-07-03 16:18:50 +00:00
Andreas Öman
84a595787a Add rate_to_sri() 2010-07-01 08:26:16 +00:00
Andreas Öman
39cd6d6981 Use a simpler, but sufficient, timescaler 2010-06-24 06:43:26 +00:00
Andreas Öman
b59546e8e2 Borrow av_rescale() from libavutil 2010-06-23 22:38:24 +00:00
Andreas Öman
6da26db5fb Fix copyright 2010-06-23 22:29:04 +00:00
Andreas Öman
aa00b53665 Local UTF8 conversion code 2010-06-23 22:27:16 +00:00
Andreas Öman
9bb63f3dcc Local base64 decoder 2010-06-23 22:10:14 +00:00
Andreas Öman
5dd680b942 Minor adjustment to CRC API 2010-06-22 08:01:23 +00:00
Andreas Öman
a120185c8a Move some stuff to utils.c 2010-06-22 06:47:18 +00:00