Adam Sutton [Fri, 11 Jan 2013 11:06:30 +0000 (11:06 +0000)]
build: Some tidying up of the build system
mainly this is just cleaning up the output from the build commands
but also added debian/changelog to ignore file to stop it being
accidentally committed back.
Dave Chapman [Thu, 10 Jan 2013 21:08:10 +0000 (21:08 +0000)]
Second attempt at protecting TRANSMISSION_MODE_4K from users with old versions of the DVB API. We just assume that it was introduced with the current API (5.3) as it is very unlikely anyone will actually come across such a broadcast.
Adam Sutton [Wed, 9 Jan 2013 12:30:11 +0000 (12:30 +0000)]
timeshift: finish timeshift skip support.
I now have a more complete skip support implemented. This includes
properly handling buffer ends. I have tested with a custom pvr.hts
in XBMC, but it does need plenty more.
Adam Sutton [Mon, 3 Dec 2012 14:59:47 +0000 (14:59 +0000)]
timeshift: Remove redundant (and faulty) code.
This appears to have been left in place from an older implementation. Ultimately the call to pthread_join will operate on uninit'd memory and could in certain circumstances cause a crash.
Thanks goes to Seri Al-Najjar <salnajjar@gmail.com> for spotting this.
Adam Sutton [Wed, 9 Jan 2013 12:14:46 +0000 (12:14 +0000)]
timeshift: fix memory leak in reader
I had failed to zero the ref count after reading from disk, this
will garauntee that the refcount never actually reaches zero and
is therefore the pkt is leaked.
Adam Sutton [Fri, 12 Oct 2012 16:24:27 +0000 (17:24 +0100)]
timeshift: early prototype of the new timeshift feature.
Currently this supports pause/resume, and speed control. FF up to 4x uses
full frame output, faster than that or reverse uses i-frame only output.
This causes problems with some players and needs work.
Also buffers are done at the subscription level which means the disk space
is not shared even if it holds the same content. And more importantly
this means you cannot yet record the timeshift buffer like on a standard
PVR.
John Törnblom [Wed, 9 Jan 2013 15:37:31 +0000 (16:37 +0100)]
http streaming: added a 'raw' container that works just like the passthrough muxer, but doesn't inject pmt/pat
this is used when subscribing to a complete dvb mux
Adam Sutton [Mon, 7 Jan 2013 13:42:47 +0000 (13:42 +0000)]
[PR-206] dvb: extend the multi-frontend PR to include cleaner support.
Generally this is intended to be used such that a user can select which
frontend they wish to enable. However in theory with clever configuration,
configure one adapter then the other and enabling close fds and disabling
idle scan, it might be possible to use both frontends.
But since TVH doesn't do any form of arbitration strange errors might
occur if you try to access both frontends at the same time (which for
most such adapters is not possible).
John Törnblom [Sun, 6 Jan 2013 17:49:40 +0000 (18:49 +0100)]
mkv: make sure the first cluster timecode is 'close to zero'.
when recording to disk, the subscription is started ~30s before the
scheduled event actually starts. This causes the pts time stamps to have an
offset of about 30s. This patch moves the start time filter condition
from the end of the pipeline to be a configurable property of the tsfix pipe.
Adam Sutton [Wed, 2 Jan 2013 22:19:34 +0000 (22:19 +0000)]
imagecache: fix mistake in imagecache address checking.
This will still may not work if the server is behind a proxy, as this
could lead to the wrong IP being detected.
For clients with HTSPv7 support they will only get the /imagecache/ID
part of the URL and will have to add the rest.
Note: there will be a number of clients that may report v7 support
but not be fully compliant due to the release schedules etc... users
in this position will not be able to use the image caching.
Dave Chapman [Wed, 2 Jan 2013 17:33:44 +0000 (17:33 +0000)]
Add support for the DVB terrestrial delivery descriptor (i.e. auto-detection of DVB-T muxes). Note that DVB-T2 is a different descriptor and not included in this commit.