Commit graph

1004 commits

Author SHA1 Message Date
Frank Meerkötter
05fa4d341a fix pointless self-assign 2012-03-31 23:44:40 +02:00
Stefan Saraev
ce1477cfc4 fix ca descr parsing for caid 4aee 2012-03-29 21:20:55 +03:00
Jaroslav Kysela
dc74a18b28 Javascript fix the improved mux-copy operation. The previous version
did not work with the DVB-T tuners (without satconf).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-03-26 10:53:43 +02:00
Jaroslav Kysela
6097dcd6d1 Fix crash when cfg->dvr_config_name is NULL (default config)
As suggested by opdenkamp - the cfg->dvr_config_name may be NULL
in some cases. Add more restrictive checks in extjs_dvr() .

This patch fixes the second location for the user check.
2012-03-21 09:34:23 +01:00
Jaroslav Kysela
e4b88cfc39 Fix crash when cfg->dvr_config_name is NULL (default config)
As suggested by opdenkamp - the cfg->dvr_config_name may be NULL
in some cases. Add more restrictive checks in extjs_dvr() .
2012-03-21 09:31:33 +01:00
Jaroslav Kysela
f5ceace980 dvb_tables: fix extended event parsing
The ext_desc / ext_item strings are just copied without language handling.
This patch uses standard dvb_get_string_with_len() function. It's safer
and the language conversions are handled correctly.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-03-20 19:58:23 +01:00
John Törnblom
afc6029beb fix subtitle issues on comhem. Sometimes the subtitles would get stuck on the screen, sometimes only half of them delivered to the client. 2012-03-18 23:02:51 +01:00
Andreas Öman
a76f365a60 Merge pull request #74 from john-tornblom/streaming_mkv_fixes
Streaming mkv fixes
2012-03-13 19:52:50 -07:00
Andreas Öman
c7fb491a43 Merge pull request #75 from terual/master
Null pointer passed as an argument
2012-03-13 19:52:07 -07:00
Andreas Öman
6751e053cb Merge pull request #45 from mikrohard/memory_leaks
Fix memory leak in queue size protection
2012-03-13 06:33:20 -07:00
Bart Lauret
be49ddd007 Null pointer passed as an argument
in line 181 in strcmp(ae->ae_password, password)
2012-03-13 08:42:33 +01:00
Andreas Öman
e6cf570807 Merge pull request #73 from john-tornblom/epg_mem_leaks
Plug memory leaks
2012-03-11 11:17:43 -07:00
John Törnblom
cac15666af Cosmetics 2012-03-11 18:29:49 +01:00
John Törnblom
36af656f2e Fixed crash when subscribing to a channel or service would fail 2012-03-11 18:18:03 +01:00
John Törnblom
96966d1e12 added missing free() to epg_event_destroy 2012-03-11 18:17:09 +01:00
John Törnblom
47bc9b2d8f Removed a call to pkt_ref_inc. I am not sure if this is OK or not. other parts of tvheadend don't seem to do it (like file recorder) so I guess it should work. 2012-03-11 18:13:05 +01:00
John Törnblom
86cd61f219 unlock mutex earlier 2012-03-11 18:10:45 +01:00
John Törnblom
d204718cf9 Log timeouts as warnings 2012-03-11 18:08:45 +01:00
amet
5f00b7309a change CWS_NETMSGSIZE to 362 2012-03-08 14:13:48 +04:00
John Törnblom
07df79f2ee sanity checks for mkv muxer 2012-03-08 10:53:07 +01:00
Bart Lauret
07c618aaa4 added missing free()s 2012-03-07 15:12:48 +01:00
John Törnblom
841ab9087f skip seekhead for live streams and append epg tags whenever they change. 2012-03-06 18:07:49 +01:00
John Törnblom
19ad4c1262 avoid calling lseek on sockets as a socket is not seekable. 2012-03-06 14:48:58 +01:00
John Törnblom
6e02f496bf for streaming, use the smallest possible cluster size (one cluster per keyframe). 2012-03-06 14:48:10 +01:00
John Törnblom
e6826dca0e Made the maximum cluster size smaller for live streams and even smaller for live audio only streams 2012-03-06 13:57:45 +01:00
John Törnblom
3cea8ad970 Check for null pointers 2012-03-05 17:52:38 +01:00
John Törnblom
115089def3 Log when a http streams starts and stops 2012-03-05 17:51:52 +01:00
John Törnblom
839b164d7b Add meta tags to webstream 2012-03-05 17:34:38 +01:00
John Törnblom
ea617c8e24 fix offset for metainfo when metatags are present. not sure how these values add up but mkvalidator claims they are correct 2012-03-05 17:34:10 +01:00
John Törnblom
54f7b75801 increased initial 'tuning' timeout for http from 5 seconds to 20 seconds 2012-03-05 15:55:41 +01:00
John Törnblom
f104564aa1 Use channel name as title of stream and set the programme name as a tag named TITLE 2012-03-05 15:53:14 +01:00
Andreas Öman
abaf9290cb Merge pull request #60 from john-tornblom/http_mkvmuxing
do matroska muxing of live streams instead of raw TS
2012-03-02 23:27:42 -08:00
Andreas Öman
6162cd255b Merge pull request #61 from john-tornblom/htsp_get_ticket
added a new htsp method, 'getTicket'...
2012-03-02 23:25:42 -08:00
Andreas Öman
612ce06370 Merge pull request #57 from fmeerkoetter/fix_crash_invalid_record_dir
fix segfault due to failed mk_mux_create()
2012-03-02 23:25:15 -08:00
Andreas Öman
e008bc764f Merge pull request #59 from john-tornblom/upstream_fixes
Close file descriptors on various errors
2012-03-02 23:22:13 -08:00
John Törnblom
2309cbf22f added a new htsp method, 'getTicket' that will generate a http access ticket for a channel or recording 2012-03-02 22:19:43 +01:00
John Törnblom
289f6cc203 do matroska muxing of live streams instead of raw TS 2012-03-02 22:13:05 +01:00
John Törnblom
7d23150ae4 fix: make sure file descriptors are closed when serving recordings via http 2012-03-02 11:44:59 +01:00
Jaroslav Kysela
d8788062ab Allow restriction for one DVR configuration mapped to one user
In some use cases, it may be usefull to not allow selection of the
DVR configuration for the end-users. Map the DVR configuration by name
matching the username for these restricted users (DVR configuration must
be identical to the username, otherwise the default configuration is used).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-03-01 17:55:24 +01:00
Jaroslav Kysela
eecf66f3ca Improve copy operation for satellite muxes - allow specify the dst LNB config
The previous code was creating wrong mux entries with references
to a LNB configuration used by the source adapter.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2012-02-28 20:48:55 +01:00
Frank Meerkötter
f0e4366aa2 fix segfault due to failed mk_mux_create()
if mk_mux_create() fails due to to file system permissions
tvheadend will crash when trying to remove the rec-entry
from the UI.
2012-02-23 22:16:26 +01:00
Frank Meerkötter
57ef38d355 spelling 2012-02-23 22:15:22 +01:00
Andreas Öman
b8778005b4 Merge pull request #56 from lunds/aac_sbr_fix
Multiplex HE-AAC with explicit SBR signalling in MKV
2012-02-22 05:41:43 -08:00
Mikael Lund Jepsen
3e3a197fa5 Multiplex HE-AAC with explicit SBR signalling in MKV
This is a possible fix for bug #858: http://www.lonelycoder.com/redmine/issues/858

Ref: ISO/IEC 14496-3, Part 3: Audio
     Section 1.6.2.1 AudioSpecificConfig, and table 1.13 in particular
2012-02-21 22:58:56 +01:00
Alain Kalker
6a4fc69148 Fix unitialized variable 2012-02-18 23:25:01 +01:00
Jernej
4b28d78701 Code optimization 2012-01-29 17:24:42 +01:00
Andreas Öman
fdf89b2768 Merge pull request #41 from mikrohard/master
Parsing support for AAC streams inside mp4a containers.
2012-01-15 08:18:10 -08:00
William van de Velde
51173a5508 Fix the emm updates for seca, the break was accidently removed when adding support for dre cards. 2011-12-13 19:42:21 +01:00
Andreas Öman
d5e3221747 Update mux configuration from dvb-apps-bec11f78be51 2011-12-08 20:18:08 +01:00
Dave Cameron
f38acc05f0 re-forked from andoma/master
re-added PID file setting support.
2011-12-08 17:49:06 +13:00