Commit Graph

2093 Commits

Author SHA1 Message Date
Stefan Seyfried
56b9b9bcc5 neutrino: enable 'standby after inactivity' for Tripledragon 2012-04-17 19:33:54 +02:00
Stefan Seyfried
8d9a65ad35 zapit: make setStandby(false) block
this avoids many nasty race conditions when leaving standby
2012-04-17 19:33:54 +02:00
Stefan Seyfried
8ee066d515 neutrino: wake up video decoder before zapping 2012-04-17 19:33:54 +02:00
Stefan Seyfried
dd025e6622 fontrenderer: fix issue with epgwindow font when FB is scaling 2012-04-17 19:33:54 +02:00
Stefan Seyfried
98e8e0f856 channellist: always start video if parental lock is disabled
this fixes an obscure wakeup-from-standby bug if parental locking is
disabled but a bouquet is marked as "locked" anyway
2012-04-17 19:33:54 +02:00
Stefan Seyfried
ed8d08d25a neutrino: show hintbox if reloading channels on standby 2012-04-17 19:33:53 +02:00
Stefan Seyfried
6317064504 epgview: add event ID and table as last line to epg window 2012-04-17 19:33:53 +02:00
Stefan Seyfried
b34e7205b9 neutrino: resize framebuffer on videomode change
this is needed on spark because the framebuffer has the same resolution
as the video plane...
2012-04-17 19:33:53 +02:00
Stefan Seyfried
a96dca1547 framebuffer_spark: fix glitch with non-rounded corners 2012-04-17 19:33:53 +02:00
Stefan Seyfried
1a61b68644 remove branding 2012-04-17 19:33:53 +02:00
Stefan Seyfried
2efb97d16b sectionsd: make commandPauseScanning really stop demuxers 2012-04-17 19:33:53 +02:00
Stefan Seyfried
be21433d7b neutrino: build against libass on spark (needed by eplayer2) 2012-04-17 19:33:53 +02:00
Stefan Seyfried
1b12cda250 spark: fix framebuffer paintLine() functions 2012-04-17 19:33:53 +02:00
Stefan Seyfried
ef4d9e95df streamts: speed up shutdown 2012-04-17 19:33:53 +02:00
Stefan Seyfried
7e6a49e8b8 fontrenderer: scale fonts for nonstandard FB resolutions 2012-04-17 19:33:53 +02:00
Stefan Seyfried
3eb307d296 add a CFrameBuffer implementation for SPARK
instead of clobbering up the code with lots of #ifdefs, create a
separate file for SPARK
2012-04-17 19:33:53 +02:00
Stefan Seyfried
f9219c7eea do not wait for timeset in cnThread
This speeds up start significantly on fast machines which
do not need long to initialize their drivers.
2012-04-17 19:33:53 +02:00
Stefan Seyfried
eabeec110c spark: build stubbed out lcddisplay code to fix build 2012-04-17 19:33:53 +02:00
Stefan Seyfried
c3f8a7f530 spark: fix build by using correct includes 2012-04-17 19:33:52 +02:00
Stefan Seyfried
6f5e4238cc libneutrino-hal is now libstb-hal 2012-04-17 19:33:52 +02:00
Stefan Seyfried
27315a43cc add USE_NEUTRINO_HAL define for libneutrino-hal 2012-04-17 19:33:52 +02:00
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