Commit Graph

593 Commits

Author SHA1 Message Date
Stefan Seyfried
9af56e1852 tuxtxt: fix race condition in tuxtxt_clear_cache()
tuxtxt_cache_lock does not prevent from calling tuxtxt_clear_cache
while the cache thread is in the middle of inserting pages, thus
leading to a hard-to-reproduce crash when trying to start up tuxtxt.
The simplest fix is to use an additional "big hammer" lock arond
the whole critical area. Since tuxtxt_clear_cache is only called
very seldom, there should be no lock contention problem.
2012-07-15 13:19:44 +02:00
satbaby
df2ab71978 fix gcc 4.7.x warnings 2012-07-09 09:26:37 +02:00
[CST] Bas
cf878686ba neutrino-apollo: changes for apollo uclibc. 2012-07-09 11:58:15 +08:00
satbaby
060c1c45b2 fix gcc 4.7.x warnings 2012-07-07 13:09:08 +02:00
Stefan Seyfried
2541edc918 neutrino: first preliminary support for AZbox ME
this is very experimental and depends on more fixes in
libstb-hal, but audio / video / OSD are basically working
2012-06-27 21:18:19 +02:00
[CST] Focus
b15a335144 Merge branch 'dvbsi++' of coolstreamtech.de:cst-public-gui-neutrino into dvbsi++ 2012-06-18 20:04:58 +04:00
satbaby
7d8d995046 use empty() instead of size() 2012-06-18 16:57:44 +02:00
[CST] Focus
954dc274b4 remove obsolete lib/controldclient/ 2012-06-14 18:00:33 +04:00
[CST] Focus
c8b4d271f9 lib/xmltree/xmlparse.cpp: fix (workaround?) for crash while parsing invalid saved xml 2012-05-14 18:30:55 +04:00
satbaby
489d88a9a2 initialize volues 2012-05-09 17:33:34 +02:00
satbaby
e14fc80ed5 -pedantic fixes 2012-05-08 18:59:11 +02:00
satbaby
bb347b3a44 performance Prefer prefix ++/-- operators for non-primitive types. 2012-04-28 10:56:27 +02:00
micha-bbg
f36ee26d87 * Add missing $(top_builddir) to Makefile.am 2012-04-27 16:54:01 +01:00
[CST] Focus
20aaec4e1c lib/libcoolstream/ca_cs.h: sync header 2012-04-26 21:44:21 +04:00
[CST] Focus
92a12e408f lib/sectionsdclient/sectionsdcontrol.cpp: add --freemem command 2012-04-25 11:26:35 +04:00
Stefan Seyfried
20f20c8511 spark: fix transparent icon blitting
no, the CFrameBuffer::blit2FB() API is *not* intuitive
(transp == true means: no transparency...)
2012-04-17 19:33:59 +02:00
Stefan Seyfried
269cbbe512 dvbsub: fix unused-var compiler warnings 2012-04-17 19:33:58 +02:00
Stefan Seyfried
33c5da3515 tuxtxt: adapt to framebuffer blitting changes 2012-04-17 19:33:58 +02:00
Stefan Seyfried
a029333c1a neutrino: adapt to the framebuffer_spark blitter change
basically add fb->blit() in every widget where necessary to
make sure the framebuffer is updated with current content
2012-04-17 19:33:57 +02:00
Stefan Seyfried
40532a9d67 dvbsub: use the FB backbuffer on spark 2012-04-17 19:33:56 +02:00
Stefan Seyfried
33a24a25f0 dvbsub: ratelimit 'bad start code' messages 2012-04-17 19:33:56 +02:00
Stefan Seyfried
9509da25a7 dvbsub: use blitter to scale subtitles on spark 2012-04-17 19:33:56 +02:00
Stefan Seyfried
b6eb045c9b dvbsub: fix scaling
Scale subtitles to full FB size, disregard OSD setup area. Reason: the
video decoder plane also does not consider OSD setup and subtitles
should align with video. Additionally, subtitles were too narrow.
TODO: what about letterboxed formats? Not handled yet.

Code is experimental, thus the original is #if 0'ed out only.
2012-04-17 19:33:55 +02:00
Stefan Seyfried
7f10c6673e dvbsub: do not clear subtitles more than once 2012-04-17 19:33:55 +02:00
Stefan Seyfried
99952cb9d7 tuxtxt: fix display with scaling FB, use hw accel if available
* Use a separate framebuffer and backbuffer on SPARK (the framebuffer
  is not big enough to have both buffers in it).
* make tuxtxt work correctly with scaling FB (1080 full-HD modes)
* improve performance by using the blitter to copy from back- to frame
  buffer if available (spark)
2012-04-17 19:33:55 +02:00
Stefan Seyfried
6f5e4238cc libneutrino-hal is now libstb-hal 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
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
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
4d9be7852d libtriple: try to make all filedescriptors O_CLOEXEC 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
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
65e0316c79 libtriple: Tripledragon can only do one TS at a time :-( 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
1de45c6352 libtriple: add dmx_cs.h to reduce code differences in neutrino 2012-04-17 19:33:48 +02:00