Commit Graph

137 Commits

Author SHA1 Message Date
Stefan Seyfried
e10c60b02c spark: do not start IRMP thread if lircd is running
This will provide a smooth switchover to using LIRC instead of IRMP: if
the lircd is running (pidfile present), don't start the input thread.
Neutrino will use the LIRC-created uinput device instead.
2012-03-17 23:21:30 +01:00
Stefan Seyfried
457c7a9199 audio: add new enums for HDMI 2012-03-08 20:23:23 +01:00
Stefan Seyfried
16d8d3e8c8 dmx: fix web streaming by allowing PID 0 for pesFilter() 2012-03-07 20:29:13 +01:00
Stefan Seyfried
3d9b659f17 spark: compensate for differing AC3/MPEG volume
Maybe the 30/53 formula neeeds some tuning, we'll find out...
2012-03-07 20:06:25 +01:00
Stefan Seyfried
9812df6bba triple: fix audio mute state after fast-forwarding in playback 2012-03-06 20:08:31 +01:00
Stefan Seyfried
137948804b libtriple: implement option to keep LCD backlight on in standby
Based on an idea by Kim Danielmeier, keep the backlight on if
TRIPLE_LCDBACKLIGHT environment variable is set.
2012-03-06 20:08:24 +01:00
Stefan Seyfried
d2a05977e5 libeplayer3: get rid of __FILE__ for shorter logmessages 2012-02-26 16:11:45 +01:00
Stefan Seyfried
12b74e6ef3 spark: work around neutrino's sectionFilter() usage
It seems like most of the times, timeout == 0 means "use the default
timeout". However, at least with the sectionsd eit update filter and
the PMT version update filter, timeout == 0 means really "no timeout"
alas "infinite". Work around this by using the default timeout only
if no negative filtermask is given.
This fixes the "EPG on program change" (and PMT update probably, too).
2012-02-26 13:13:33 +01:00
Stefan Seyfried
6bc5518847 spark: more workaround for driver bugs in cVideo 2012-02-25 22:19:59 +01:00
Stefan Seyfried
cd90a23b46 spark: use ioctls instead of procfs in cVideo::getPictureInfo 2012-02-25 22:18:42 +01:00
Stefan Seyfried
86a5316bd7 spark: improve cVideo::Pig() 2012-02-25 22:17:53 +01:00
Stefan Seyfried
55d0d90b5b spark: improve cVideo::ShowPicture()
* don't clear stillpicture on radio channel change
* don't show stillpicture in standby
2012-02-25 22:15:37 +01:00
Stefan Seyfried
7bf0a98909 spark: make cVideo::openDevice() more robust
we sometimes seem to get EBUSY when opening the video device
directly after close() - retry for half a second to get it opened
2012-02-25 21:18:07 +01:00
Stefan Seyfried
1cddb85070 libspark: fix cAudio::do_mute() 2012-02-25 21:14:04 +01:00
Stefan Seyfried
ee1a408f9b spark: fix TODO in cVideo::ShowPicture()
rebuild the MPEG stillpicture if the source jpeg has changed
additionally check for zero sized m2v from broken ffmpeg versions
2012-02-25 14:54:45 +01:00
Stefan Seyfried
c9ff86fd77 spark: implement cAudio::SetSyncMode 2012-02-25 14:30:30 +01:00
Stefan Seyfried
fd5d65b07d spark: make cVideo::Standby more robust
There are a few glitches in the framebuffer driver we need to work
around. For now, let's:
 * close and reopen the video device when going in / out of standby
 * only enable HDMI when coming out of standby
Additionally, don't call Standby() when shutting down neutrino.
2012-02-25 14:27:59 +01:00
Stefan Seyfried
904d91f82b spark: only reopen decoders in cPlayback::Close if we closed them 2012-02-25 14:19:30 +01:00
Stefan Seyfried
5cd42eb204 spark: make cVideo::SetVideoSystem more robust
in order to not run into driver locking issues, stop video decoding
before setting the video system and restart afterwards
2012-02-25 13:24:22 +01:00
Stefan Seyfried
6c5a60e128 spark: cVideo::SetVideoMode ignore irrelevant modes 2012-02-25 13:23:19 +01:00
Stefan Seyfried
26d7f46280 spark: make cVideo::openDevice ignorem ultiple calls 2012-02-25 13:13:07 +01:00
Stefan Seyfried
703c416e83 spark: fix invalid debug calls 2012-02-25 13:10:10 +01:00
Stefan Seyfried
639b538a99 debug: enable printf format checking for lt_debug 2012-02-25 13:04:11 +01:00
Stefan Seyfried
31e2bd5c45 spark: partly implement cVideo::Standby() 2012-02-23 23:33:00 +01:00
Stefan Seyfried
eb8439be3e spark: implement cVideo::SetVideoMode
this should add rudimentary support to get SCART output working
2012-02-23 23:31:49 +01:00
Stefan Seyfried
3e37ee54a6 spark: use ioctl instead of /proc to get video format 2012-02-23 23:27:53 +01:00
Stefan Seyfried
63eb51a028 spark: disable HDMI before switching mode in cVideo::SetVideoSystem
this seems to greatly improve reliability - it looks like there is
a locking problem somewhere in the framebuffer driver :-(
2012-02-23 23:25:11 +01:00
Stefan Seyfried
027308e310 spark: remove unused cVideo() functions 2012-02-23 23:11:13 +01:00
Stefan Seyfried
32fabdb53d spark: implement cVideo::SetVideoSystem() 2012-02-22 23:31:59 +01:00
Stefan Seyfried
9710f6df22 spark: silence irmp debugging messages after last merge 2012-02-22 20:11:27 +01:00
Stefan Seyfried
a17729f590 spark: fix IR remote address after IRMP update 2012-02-21 19:07:14 +01:00
Stefan Seyfried
96db6f12bf spark: update IRMP code from upstream
This updates the IRMP code to version Version 2.1.1 (SVN rev 89).
Important changes are:
 * added GRUNDIG2 protocol
 * fixed bug when switching from nec42 to nec protocol
 * corrected timing for samsung/samsung32 protocol
 * added genre bits for kaseikyo
Especially the NEC protocol fix affects us since it changes the
decoded address!
2012-02-21 19:03:24 +01:00
Stefan Seyfried
3d12d277aa libeplayer3: silence many warnings 2012-02-18 12:06:10 +01:00
Stefan Seyfried
e6e07fb496 build static libeplayer3 and link eplayer3 and meta against it 2012-02-18 12:05:11 +01:00
Stefan Seyfried
e8f63b0bf4 spark: fix cAudio::PrepareClipPlay
this makes the neutrino audioplayer work fine ;-)
2012-02-18 01:36:39 +01:00
Stefan Seyfried
920f3d1863 spark: add cVideo::ShowPicture() 2012-02-18 00:15:18 +01:00
Stefan Seyfried
54cc8ddc80 spark: remove unused cPlayback() stuff 2012-02-15 00:43:09 +01:00
Stefan Seyfried
4e3773c568 spark: use libeplayer3 for playback 2012-02-15 00:25:36 +01:00
Stefan Seyfried
ebf92d82ec spark: add cPlayback code from TDT git
This imports cplayback as of commit 12d2c15d0e (2011-12-13)
git://gitorious.org/open-duckbox-project-sh4/tdt.git
Needs some adjustment to make it build...
2012-02-15 00:17:39 +01:00
Stefan Seyfried
54592dc88b spark: build libeplayer3 statically into libstb-hal 2012-02-15 00:17:38 +01:00
Stefan Seyfried
e4a2e1cbb7 add libeplayer3 from tdt git
This imports libeplayer3 as of commit 9160371ccc6 (2012-02-02)
git://gitorious.org/open-duckbox-project-sh4/tdt.git
It would be better to use the original repo, but I need too many
changes for now :-(
2012-02-14 23:01:24 +01:00
Stefan Seyfried
16caec5a44 spark: remove unused blank and zoom code from cVideo 2012-02-14 22:52:36 +01:00
Stefan Seyfried
deeea70d0c spark: add {open,close}Device() to cVideo 2012-02-14 22:38:26 +01:00
Stefan Seyfried
a94d03ffee spark: increase record demux buffer size 2012-02-12 20:50:59 +01:00
Stefan Seyfried
74c58d82aa spark: rename lt_dfbinput to lirmp_input 2012-02-12 20:49:20 +01:00
Stefan Seyfried
e87418f43c spark: convert the input thread to use lt_debug 2012-02-12 20:49:13 +01:00
Stefan Seyfried
77fe6d3a4e spark: add more keys to the input converter 2012-02-12 20:37:42 +01:00
Stefan Seyfried
101c852167 spark: use TSDEMUX_TAP for TS demux in cDemux() 2012-02-12 20:35:47 +01:00
Stefan Seyfried
6c29c65cd7 debug: rename from TRIPLE_DEBUG to HAL_DEBUG
the old variable is still usable as a fallback
2012-02-12 20:34:12 +01:00
Stefan Seyfried
2a162d9e0d spark: cVideo::Pig() 2012-02-12 10:43:27 +01:00