Commit Graph

103 Commits

Author SHA1 Message Date
Stefan Seyfried
70a2f5bca0 cPlayback: add new API functions for DVD chapter/subtitles
right now these are mostly dummies...
2013-06-16 21:42:42 +02:00
Stefan Seyfried
dd7ee34c8c cDemux: fix error reporting vor video, audio, ... channels 2013-06-01 17:05:23 +02:00
Stefan Seyfried
e5e05ffa09 fix library declarations for libtool 2013-06-01 12:25:52 +02:00
Stefan Seyfried
b4be13eb84 video: ensure VIDEO_STD_MAX is big enough 2013-05-25 22:05:30 +02:00
Stefan Seyfried
6724f3f9e3 demux: define MAX_DMX_UNITS (not yet used) 2013-05-10 13:22:44 +02:00
Stefan Seyfried
88b8aa7b8f cRecord: fix compiler warning (type mismatch) 2013-05-05 20:14:12 +02:00
Stefan Seyfried
cae8a88e26 spark: tone down two dmx messages to debug 2013-03-24 19:15:12 +01:00
Stefan Seyfried
4b9d9271b6 spark: fix compiler warning in cVideo 2013-02-24 16:31:37 +01:00
Stefan Seyfried
afdca9c02b implement cDemux::GetSource() 2013-02-24 16:29:59 +01:00
Stefan Seyfried
e900236f7e cDemux: fix removePid / pesfds usage 2013-02-24 14:11:09 +01:00
Stefan Seyfried
707020d16b cDemux: add copyright header 2013-02-24 13:35:31 +01:00
Stefan Seyfried
74cb82e66c cDemux::sectionFilter: fix invalid length calculation 2013-02-24 13:26:55 +01:00
Stefan Seyfried
6ec87214f2 libspark/hw_caps: add more stb ids
from git://gitorious.org/~martii/neutrino-hd/martiis-libstb-hal.git
2013-02-24 13:05:53 +01:00
graugans
6b97269926 fixed the debug output to match the correct device 2013-01-25 10:25:47 +01:00
Stefan Seyfried
7c46077051 deuglify library build
* build intermediate libraries for each subdirectory
* link those libs in main directory instead of single objects
* ugly hack in configure.ac to disable dynamic lib for now
2012-12-01 13:29:27 +01:00
Stefan Seyfried
0e96784ad9 cRecord: fix last commit 2012-10-12 06:35:29 +02:00
Stefan Seyfried
c4422bcfbb adapt cRecord API to coolstream changes 2012-10-12 06:24:16 +02:00
Stefan Seyfried
9efe410790 spark: speed up playback start for PLAYMODE_TS 2012-10-04 00:09:04 +02:00
Stefan Seyfried
ea7a8428f0 spark: add demuxer init hack 2012-09-29 22:19:14 +02:00
Stefan Seyfried
fe7b385660 spark: make cDemux more robust
* workaround hanging Read() if frontend loses and regains lock
* set DMX_ONESHOT for TDT and TOT sections
2012-09-22 12:21:59 +02:00
Stefan Seyfried
f0cee92240 spark: let cRecord use the demux passed as parameter 2012-09-22 12:20:36 +02:00
Stefan Seyfried
99a63b16ca spark: make cDemux multi-tuner compatible
...which is more complicated than it seems at first glance, due
to the restrictions of the sh4 pti driver...
2012-09-22 12:20:35 +02:00
Stefan Seyfried
f0a9b76ef1 spark: improve hardware_caps detection 2012-09-16 22:53:35 +02:00
Stefan Seyfried
8a6f1dea9d add hardware_caps header
First version of a "hardware capabilites information" struct.
This is intended to help clean up the mess in the neutrino GUI.
Surely needs some more work and ongoing changes
2012-09-15 11:49:51 +02:00
Stefan Seyfried
1df3d2e946 cDemux: add dummy SetSource() for coolstream compatibiliy 2012-07-29 13:26:31 +02:00
Stefan Seyfried
84ee47fd7f correctly declare AVSYNC_TYPE 2012-07-28 22:51:29 +02:00
Stefan Seyfried
5583233e9e spark,azbox: make demux FD nonblocking
...except for DMX_PSI_CHANNEL, which does not seem to expect that.
2012-07-15 11:44:28 +02:00
Stefan Seyfried
2d52b68c2d spark: implement cVideo::getBlank()
this is a hack: the "mailbox" irq count does not increase if the
decoders are not decoding, so we use this to determine if the
video is in really playing.
2012-07-05 20:24:40 +02:00
Stefan Seyfried
8568efcd01 fix build after cCA move... 2012-06-18 14:33:21 +02:00
Stefan Seyfried
c50c2888ce move dummy cCA implementation to commmon/ directory 2012-06-18 11:13:33 +02:00
Stefan Seyfried
ee3436d292 spark: fix framerate from cVideo::getPictureInfo() 2012-06-08 22:31:01 +02:00
Stefan Seyfried
9e075bf190 spark: implement cVideo::SetSyncMode()
inspired by evolux, but much simpler
2012-06-08 22:30:11 +02:00
Stefan Seyfried
f0f295efa1 spark: fix invalid initialization order in cVideo
(how could this ever work? no idea). Found in evolux patches.
2012-06-08 22:20:35 +02:00
Stefan Seyfried
b9f3ae5372 spark: implement AC3 passthrough on SPDIF and HDMI
Note: untested (no hardware). AC3 on HDMI will only work if
AC3 on SPDIF is also selected.
2012-06-08 22:17:30 +02:00
Stefan Seyfried
33e44c8ca3 spark: fix invalid debug in cAudio::PrepareClipPlay 2012-06-08 22:12:31 +02:00
Stefan Seyfried
8ea51a9dfb spark: add (and use) proc_put() to audio.cpp 2012-06-08 22:11:39 +02:00
Stefan Seyfried
75a4d2843b spark: add 1080p50 videomode (needs neutrino fix) 2012-04-14 10:56:36 +02:00
Stefan Seyfried
5001e2f103 spark: improve libeplayer3 playback for timeshift
* open output only when really starting playback, just pause
  videodecoder before, so that still picture on timeshift works
* adapt to strange neutrino calling conventions, so that jump-on-
  start works for pause -> play -> stop (live) -> pause again
  sequence for timeshift works
TODO: the startup for H264 timeshifting is too slow, needs
      improvement
2012-04-08 17:12:52 +02:00
Stefan Seyfried
f72812d642 spark: add hack to simulate the timeshift file length 2012-04-08 16:58:19 +02:00
Stefan Seyfried
f3d93833e1 spark: make cRecord more error resilient
* use aio to improve things for slow recording media (heavily loaded
  NFS server for example)
* in case of a buffer overflow, don't stop the recording but simply
  drop a buffer
A proper aio implementation would involve multiple buffers that could
be queued in paralled, but that's much more complex, so let's see if
the current code works out well enough.
2012-04-08 14:43:40 +02:00
Stefan Seyfried
56874d9721 spark: temporary (for testing) map "auto" video mode to 1080p50 2012-04-05 11:58:05 +02:00
Stefan Seyfried
542a026b9b spark: return true for EOF in cPlayback::GetPosition 2012-04-01 17:51:48 +02:00
Stefan Seyfried
72089fe88d spark: set new videomode only if it differs from current 2012-04-01 17:38:11 +02:00
Stefan Seyfried
93bc0eec06 spark: fix getAspectRatio and getPictureInfo in MP mode 2012-04-01 17:37:17 +02:00
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
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