Commit Graph

2072 Commits

Author SHA1 Message Date
Stefan Seyfried
dbc40c4a80 add boxtype 'spark' 2012-04-17 19:33:52 +02:00
Stefan Seyfried
c8a561244e enable usage of a separately built replacement of libtriple
In order to improve portability, libtriple will be split off and
built separately as "libneutrino-hal" (for hardware abstraction layer)
Enable the makefiles to deal with that.
2012-04-17 19:33:52 +02:00
Stefan Seyfried
8e7fc69a0b libtriple: improve and shorten cDemux debug messages 2012-04-17 19:33:52 +02:00
Stefan Seyfried
74ad2edc8c libtriple: use AVS mute to avoid audio pop during boot 2012-04-17 19:33:52 +02:00
Stefan Seyfried
3f84fb416f neutrino: do not display expired events in channel list 2012-04-17 19:33:52 +02:00
Stefan Seyfried
288463be97 sectionsd: simplify EPG save / load code
use only one file "events.xml" instead of "index.xml" plus one
file per channel
2012-04-17 19:33:52 +02:00
Stefan Seyfried
ca54ce2fb9 neutrino: disable screenshot code (incompatible License) 2012-04-17 19:33:52 +02:00
Stefan Seyfried
35b07cd355 libtriple: improve cPlayback performance
avoid unnecessary memcpy in read_mpeg(), significantly improving performance
2012-04-17 19:33:51 +02:00
Stefan Seyfried
a18737ffde libtriple: add video parameter watchdog
Add the video parameter watchdog to the (already existing) input
thread, so we can remove it from zapit.
Unfortunately, we need an ugly hack in cDemux for making sure we
do not crash on exit... :-(
2012-04-17 19:33:51 +02:00
Stefan Seyfried
02ef55e312 make lt_dfbinput a c++ file
this allows to put the videowatchdog into the same thread later
2012-04-17 19:33:51 +02:00
Stefan Seyfried
50a041083f tuxtxt: fix spurious segfault on repeated start 2012-04-17 19:33:51 +02:00
Stefan Seyfried
628fc2784b libtriple: load td-dvb-frontend.ko in init_td_api() 2012-04-17 19:33:51 +02:00
Stefan Seyfried
0a7ec15c6e libtriple: convert tripledragon remote to uinput
Instead of patching neutrino to read the Tripledragon remote, use a
converter thread in libtriple to convert the TD remote to a real input
device via uinput.
2012-04-17 19:33:51 +02:00
Stefan Seyfried
dae1896fd7 neutrino: remove fastscan option 2012-04-17 19:33:51 +02:00
Stefan Seyfried
cb99dfb6c7 libtriple: add documentation on libtriple options 2012-04-17 19:33:51 +02:00
Stefan Seyfried
367fe4749b libtriple: avoid audio noise when going to standby 2012-04-17 19:33:51 +02:00
Stefan Seyfried
7dbc580618 libtriple: add support for alternate sound devices to cAudio
This allows to use different audio devices (USB Audio for example)
with internet radio and audioplayer.
2012-04-17 19:33:51 +02:00
Stefan Seyfried
41a2f7a803 neutrino: TD-dvbsub fix did break coolstream dvbsub 2012-04-17 19:33:51 +02:00
Stefan Seyfried
bf86a07a0d neutrino: avoid float for color calculations 2012-04-17 19:33:51 +02:00
Stefan Seyfried
fb6633b7aa neutrino: avoid float for percent calculations 2012-04-17 19:33:51 +02:00
Stefan Seyfried
37c5f7c7d3 neutrino: avoid float when calculating scrollbars 2012-04-17 19:33:50 +02:00
Stefan Seyfried
2d2cbf4001 neutrino: remove float() usage from audiodecoders 2012-04-17 19:33:50 +02:00
Stefan Seyfried
37e77fe6eb neutrino: update TD version of CFrameBuffer::setBlendLevel 2012-04-17 19:33:50 +02:00
Stefan Seyfried
589d1114ec neutrino: implement COSDFader under GPL-3.0+ 2012-04-17 19:33:50 +02:00
Stefan Seyfried
fb5805aa49 Revert "New class to handle osd fade"
This reverts commit 47312e24aace5b955a2dc5ef616f564e3b4a3172.
The code of this commit is GPL-2.0 only and thus incompatible.
2012-04-17 19:33:50 +02:00
Stefan Seyfried
30778f4b41 neutrino: try to fix segfault on shutdown
I have no other explanation for this backtrace on shutdown,
(gdb) bt
 #0  0x00000f00 in ?? ()
 #1  0x2fd7b7b8 in cDataReader::RemoveFilter(cDemuxFilter*) () from /lib/libcoolstream-mt.so
 #2  0x2fd6c8cc in cDemux::Stop() () from /lib/libcoolstream-mt.so
 #3  0x00164c38 in getUTC (UTC=0x41a86e03, TDT=false)
     at ./src/sectionsd/dmxapi.cpp:148
 #4  0x001490f8 in timeThread ()
     at ./src/sectionsd/sectionsd.cpp:6969
 #5  0x2fd2a584 in start_thread () from /lib/libpthread.so.0

it happened in this sequence:
 [ 06:52:16.393 ] dvbsub_thread shutdown
 [dvb-sub] stopped
 [sectionsd] cnThread ended
 pausing...
 [sectionsd] eitThread ended
 httpd shutdown
 httpd shutdown done
 Segmentation fault (core dumped)

So I guess that the pthread_cancel triggered it.
2012-04-17 19:33:50 +02:00
Stefan Seyfried
c619d5c596 clarify that my code is GPL v3+ only 2012-04-17 19:33:50 +02:00
Stefan Seyfried
5aa75e5820 neutrino: convert most parts to use safe_system()
e.g. network setup was leaking demux file descriptors to udhcpc
leading to strange issues later when trying to restart neutrino etc.
2012-04-17 19:33:50 +02:00
Stefan Seyfried
60454a643c add a 'safe_system' function which avoids leaking FDs 2012-04-17 19:33:50 +02:00
Stefan Seyfried
4d9be7852d libtriple: try to make all filedescriptors O_CLOEXEC 2012-04-17 19:33:50 +02:00
Stefan Seyfried
63af4043a7 zapit: fix SDT scan
the SDT scan could sometimes erase half of a transponder after
a read error from the demux device device (e.g. due to bad
reception had occured or the channel had been changed since scan
had started.
2012-04-17 19:33:50 +02:00
Stefan Seyfried
e142b3d98a libtriple: fix cDemux::pesFilter for teletext 2012-04-17 19:33:49 +02:00
Stefan Seyfried
2f65aea744 neutrino: make button bar use available space intelligently
modify the paintButtons() function, so that it spreads the buttons
over the available width with constant space between them.
Port over all users to the new method and clean up quite some custom
button drawing code on the way.

Attention: This code is GPL v3+ only for now!
2012-04-17 19:33:49 +02:00
Stefan Seyfried
90bb145049 neutrino: lock bouquet editor if parental pin is active 2012-04-17 19:33:49 +02:00
Stefan Seyfried
3999e8d0e2 neutrino: add the possibility to lock bouquets by default
This basically inverts the "locked" attribute of bouquets.xml and
allows to selectively enable only favourites or similar.
2012-04-17 19:33:49 +02:00
Stefan Seyfried
9dbdfcf5c7 neutrino: call a script after a PIN is entered 2012-04-17 19:33:49 +02:00
Stefan Seyfried
2054a78b99 libtriple: add measure mode to cDemux to fix streaminfo
since the TD drivers apparently only allow each PID to be captured
once, cheat and implement the measure mode for streaminfo with
special ioctls. now streaminfo no longer breaks recordings
2012-04-17 19:33:49 +02:00
Stefan Seyfried
b32df67a60 libtriple: convert cRecord to lt_debug() 2012-04-17 19:33:49 +02:00
Stefan Seyfried
9cbede9fec libtriple: improve lt_debug
* add current instance
* shorten lt_debug messages
2012-04-17 19:33:49 +02:00
Stefan Seyfried
7368fad7ba neutrino: Tripledragon can only record one TS at once 2012-04-17 19:33:49 +02:00
Stefan Seyfried
3764ca7da0 neutrino: CRecordManager should not ignore errors when timeshifting 2012-04-17 19:33:49 +02:00
Stefan Seyfried
65e0316c79 libtriple: Tripledragon can only do one TS at a time :-( 2012-04-17 19:33:48 +02:00
Stefan Seyfried
f3fdf7c91b neutrino: add profiling to startup (not for upstream) 2012-04-17 19:33:48 +02:00
Stefan Seyfried
37ce4b2012 neutrino: start sectionsd earlier to avoid waiting for it 2012-04-17 19:33:48 +02:00
Stefan Seyfried
5db0f0aee0 libtriple: add cRecord::AddPid 2012-04-17 19:33:48 +02:00
Stefan Seyfried
24e9ee412f libtriple: bring cRecord::Open in line with CS code 2012-04-17 19:33:48 +02:00
Stefan Seyfried
448f88fcac libtriple: bring cDemux::Start in line with CS code 2012-04-17 19:33:48 +02:00
Stefan Seyfried
feafc20789 libtriple: change cDemux::addPid to type bool 2012-04-17 19:33:48 +02:00
Stefan Seyfried
7d4305e67e sectionsd: trigger EIT after removing >1000 old events (not for upstream) 2012-04-17 19:33:48 +02:00
Stefan Seyfried
1de45c6352 libtriple: add dmx_cs.h to reduce code differences in neutrino 2012-04-17 19:33:48 +02:00