Commit graph

2856 commits

Author SHA1 Message Date
Andreas Öman
d262726729 timeshift: Fix possible deadlock (due to missing unlock) 2013-01-09 23:23:49 +01:00
Adam Sutton
8be121f558 make: add option to reconfigure with previous options. 2013-01-09 21:42:09 +00:00
Adam Sutton
11576caf97 timeshift: enable timeshift by default in the build. 2013-01-09 21:26:52 +00:00
Adam Sutton
86c4a969f7 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.
2013-01-09 21:26:52 +00:00
Kristofer Karlsson
2235b869ae timeshift: implemented skip 2013-01-09 21:26:52 +00:00
Adam Sutton
564340b32d timeshift: add new style capability check. 2013-01-09 21:26:52 +00:00
Adam Sutton
88a9d96039 timeshift: Reworked the reader engine to common up things and prepare for seek support. 2013-01-09 21:26:52 +00:00
Adam Sutton
acebb13f15 timeshift: Added on-demand buffer mode.
In this mode data will only be written to disk when paused and anything
in the buffer prior to the current play point will immediately be removed.

This implies that rewinding is never possible in this mode (though FF is)
and trying to do so will result in the buffer playback being paused.
2013-01-09 21:26:52 +00:00
Adam Sutton
fa4841b725 timeshift: reworked the configuration
general config stuff has now been removed and a new timeshift tab has been created
2013-01-09 21:26:52 +00:00
Kristofer Karlsson
4b86d4210c timeshift: Use more specific type for timeshift_index_data_t.data. 2013-01-09 21:26:51 +00:00
Kristofer Karlsson
a300377036 timeshift: Split timeshift_index_t in two separate datatypes. 2013-01-09 21:26:51 +00:00
Adam Sutton
869f95ee0f 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.
2013-01-09 21:26:51 +00:00
Adam Sutton
551e5ff8f9 timeshift: fix use after free() bug. 2013-01-09 21:26:51 +00:00
Adam Sutton
4e67a1345e 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.
2013-01-09 21:26:51 +00:00
Adam Sutton
9180546fc6 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.
2013-01-09 21:26:51 +00:00
Adam Sutton
78df091e41 make: check if configure output is still likely to be valid. 2013-01-09 21:26:51 +00:00
Adam Sutton
c93333a089 Merge remote-tracking branch 'origin/pr/217' 2013-01-09 17:34:27 +00:00
John Törnblom
a1749a27c9 webui: expose a "play" url to the entire mux. 2013-01-09 16:45:14 +01:00
John Törnblom
f69022390f mkv: plug minor memory leak 2013-01-09 16:37:44 +01:00
John Törnblom
cdd6c6c7d3 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
2013-01-09 16:37:31 +01:00
Piotras
54dc40ba88 add missing caids 2013-01-09 15:19:50 +00:00
John Törnblom
048856342f collect bandwidth statistics on direct subscriptions 2013-01-09 16:14:04 +01:00
John Törnblom
ea0d6918ff webui: show username, hostname and client name when subscribing to a complete mux 2013-01-09 16:00:57 +01:00
John Törnblom
f2d6ef4aa0 webui: show username, hostname and client name when subscriving to a service 2013-01-09 15:59:32 +01:00
Adam Sutton
ef43010617 imagecache: restrict access to webui allowed users only. 2013-01-09 13:44:48 +00:00
Adam Sutton
82ac35c078 main: restore original signal handling removed in error. 2013-01-09 11:01:31 +00:00
Adam Sutton
3c5f789d6c streaming: make sure raw streaming bypasses muxer. 2013-01-08 23:12:09 +00:00
John Törnblom
09e2ebd54d mkv: fixed copy & pase typo 2013-01-09 00:06:42 +01:00
John Törnblom
de818c09f2 mkv: fixed typo causing endless loop when chapters are created 2013-01-09 00:00:14 +01:00
John Törnblom
ec76be3f1b mkv: insert chapters upon various codec changes 2013-01-09 00:00:14 +01:00
Dave Chapman
aa1eaff927 TRANSMISSION_MODE_4K did not exist prior to DVB API v5, use AUTO instead. Fixes issue 1510. 2013-01-08 22:49:17 +00:00
John Törnblom
a9cef28b9f mkv: cosmetics 2013-01-08 22:33:04 +01:00
John Törnblom
578c9fea79 mkv: don't add a new chapter if the previous one was added less than 10s ago 2013-01-08 22:33:04 +01:00
John Törnblom
a846f70e4f dvr: add a marker when there is a commercial break 2013-01-08 22:33:04 +01:00
John Törnblom
fe9eb0c05e tsfix: sometimes, commersial skipping caused the audio/video to get out off sync. Lets just skip the packets for now. 2013-01-08 22:33:04 +01:00
John Törnblom
cff10d6663 added support for chapters insertion in tha muxer api 2013-01-08 22:33:04 +01:00
John Törnblom
153c2f09d8 mkv: added support for chapter insertion 2013-01-08 22:33:04 +01:00
Magnus Röös
6b25dd99a8 dont use variables that goes out of scope
Change-Id: Ica5f05e63bb811141314cc24f4f68be245f364f6
2013-01-08 20:38:22 +01:00
Jacek Tomasiak
92c89bc644 restored old default port 2013-01-08 18:31:44 +00:00
Adam Sutton
62acb529b6 debian: add curl as build req 2013-01-08 16:35:41 +00:00
Adam Sutton
2c85228c5d main: rewrite of command line processing. 2013-01-08 16:27:23 +00:00
Adam Sutton
93fe5b9f72 channels: do not delete channel when last refd service is removed. 2013-01-08 13:44:39 +00:00
Adam Sutton
f30bebceb8 Merge remote-tracking branch 'origin/pr/213' 2013-01-08 13:33:28 +00:00
Adam Sutton
ddcee0e750 [PR-210] some tidying up of the webui debug option. 2013-01-08 13:30:11 +00:00
bowman-gh
ea9f91e6ab Fill out the private descriptor fields correctly (tsid and onid) 2013-01-08 12:56:04 +01:00
bowman-gh
22eaf61c40 Fill out the private descriptor fields correctly (tsid and onid) 2013-01-08 12:13:49 +01:00
Vuolter
60801bb1a8 Theme forgotten 2013-01-07 23:26:55 +01:00
Vuolter
a7da81a394 Added webui debug mode switcher 2013-01-07 23:26:53 +01:00
Adam Sutton
ac5db4e22f [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).
2013-01-07 21:42:22 +00:00
Adam Sutton
f1e4c480ec Merge remote-tracking branch 'origin/pr/206' 2013-01-07 21:25:13 +00:00