Commit Graph

2050 Commits

Author SHA1 Message Date
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
Stefan Seyfried
1ab98c13f8 streaminfo: partly flickering fix (not ready for upstream) 2012-04-17 19:33:48 +02:00
Stefan Seyfried
db86ff4af0 sectionsd: increase default debug output (not for upstream) 2012-04-17 19:33:48 +02:00
Stefan Seyfried
94c4a82b70 sectionsd: add noisy messages for unexpected state 2012-04-17 19:33:48 +02:00
Stefan Seyfried
997153cb8f libtriple: improve audio stream handling in cPlayback()
use a c++ map instead of arrays to store audio stream data
Side effect: audio streams as returned by findAllPids() are now
sorted by pid, helping default selection for MPEG and VDR streams
2012-04-17 19:33:48 +02:00
Stefan Seyfried
9f32954f1a sectionsd: disable broken DMX::check_complete() function
The DMX::check_complete function does not work correctly (e.g. it
ignores table 0x51 which it shouldnt).
Additionally, it seems to indicate completeness of a table even though
there are still new versions coming in.
As it is not too useful anyway, simply disable it for now.
2012-04-17 19:33:47 +02:00
Stefan Seyfried
93e4ef3b08 framebuffer: implement setBlendLevel() and setBlendMode() for TripleDragon 2012-04-17 19:33:47 +02:00
Stefan Seyfried
9e72dcc2f6 neutrino: theoretical framebuffer correctness fix for TD 2012-04-17 19:33:47 +02:00
Stefan Seyfried
40f50f88cc neutrino: silence rcinput debug output 2012-04-17 19:33:47 +02:00
Stefan Seyfried
4a49f203f7 libtriple: implement cVideo::SetSyncMode() 2012-04-17 19:33:47 +02:00
Stefan Seyfried
2df67d32f4 libtriple: implement cAudio::SetSyncMode() 2012-04-17 19:33:47 +02:00
Stefan Seyfried
832b2d3096 neutrino: don't show CEC settings on Tripledragon 2012-04-17 19:33:47 +02:00
Stefan Seyfried
6b2958d609 libtriple: cVideo enabled SCART during record in standby 2012-04-17 19:33:47 +02:00
Stefan Seyfried
6497e4c310 libtriple: fix seeking in cPlayback if there's a PTS overflow 2012-04-17 19:33:47 +02:00
Stefan Seyfried
9060dff7dc zapit-debug: hack to shorten debug messages 2012-04-17 19:33:47 +02:00
Stefan Seyfried
ae38a828f0 libdvbsub: hacks to try to improve the situation on TD
those don't really help yet, unfortunately
2012-04-17 19:33:47 +02:00
Stefan Seyfried
7828eeb103 libtriple: sync cPlayback with libcoolstream changes 2012-04-17 19:33:47 +02:00
Stefan Seyfried
99a5c040a3 libtriple: fix compiler warning in cs_get_revision() 2012-04-17 19:33:47 +02:00
Stefan Seyfried
6719a44dc9 libtriple: convert cDemux to lt_info 2012-04-17 19:33:47 +02:00
Stefan Seyfried
93e90cc4e1 libtriple: add workaround for 'odd filter length' problem in cDemux 2012-04-17 19:33:46 +02:00
Stefan Seyfried
71f1a1e9e3 libtriple: convert cAudio to lt_info, improve debug output 2012-04-17 19:33:46 +02:00
Stefan Seyfried
b24c2c86ee libtriple: add debug flag to disable SCART switching (debug) 2012-04-17 19:33:46 +02:00
Stefan Seyfried
f21ba6a694 libtriple: remove unneeded includes, disable strict aliasing 2012-04-17 19:33:46 +02:00