Commit Graph

82 Commits

Author SHA1 Message Date
Stefan Seyfried
7ccb9441b3 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...


Origin commit data
------------------
Branch: master
Commit: 99a63b16ca
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-09-22 (Sat, 22 Sep 2012)



------------------
This commit was generated by Migit
2012-09-22 12:20:35 +02:00
Stefan Seyfried
2891db5593 spark: improve hardware_caps detection
Origin commit data
------------------
Branch: master
Commit: f0a9b76ef1
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-09-16 (Sun, 16 Sep 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-09-16 22:53:35 +02:00
Stefan Seyfried
d9c22d3808 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


Origin commit data
------------------
Branch: master
Commit: 8a6f1dea9d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-09-15 (Sat, 15 Sep 2012)



------------------
This commit was generated by Migit
2012-09-15 11:49:51 +02:00
Stefan Seyfried
791c592fe1 cDemux: add dummy SetSource() for coolstream compatibiliy
Origin commit data
------------------
Branch: master
Commit: 1df3d2e946
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-07-29 (Sun, 29 Jul 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-07-29 13:26:31 +02:00
Stefan Seyfried
823c006356 correctly declare AVSYNC_TYPE
Origin commit data
------------------
Branch: master
Commit: 84ee47fd7f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-07-28 (Sat, 28 Jul 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-07-28 22:51:29 +02:00
Stefan Seyfried
6a5ad2af23 spark,azbox: make demux FD nonblocking
...except for DMX_PSI_CHANNEL, which does not seem to expect that.


Origin commit data
------------------
Branch: master
Commit: 5583233e9e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-07-15 (Sun, 15 Jul 2012)



------------------
This commit was generated by Migit
2012-07-15 11:44:28 +02:00
Stefan Seyfried
4602417532 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.


Origin commit data
------------------
Branch: master
Commit: 2d52b68c2d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-07-05 (Thu, 05 Jul 2012)



------------------
This commit was generated by Migit
2012-07-05 20:24:40 +02:00
Stefan Seyfried
ce7c2cc049 fix build after cCA move...
Origin commit data
------------------
Branch: master
Commit: 8568efcd01
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-06-18 (Mon, 18 Jun 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-06-18 14:33:21 +02:00
Stefan Seyfried
7004395684 move dummy cCA implementation to commmon/ directory
Origin commit data
------------------
Branch: master
Commit: c50c2888ce
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-06-18 (Mon, 18 Jun 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-06-18 11:13:33 +02:00
Stefan Seyfried
03dc30fb9c spark: fix framerate from cVideo::getPictureInfo()
Origin commit data
------------------
Branch: master
Commit: ee3436d292
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-06-08 (Fri, 08 Jun 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-06-08 22:31:01 +02:00
Stefan Seyfried
1dae482edd spark: implement cVideo::SetSyncMode()
inspired by evolux, but much simpler


Origin commit data
------------------
Branch: master
Commit: 9e075bf190
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-06-08 (Fri, 08 Jun 2012)



------------------
This commit was generated by Migit
2012-06-08 22:30:11 +02:00
Stefan Seyfried
02925507e5 spark: fix invalid initialization order in cVideo
(how could this ever work? no idea). Found in evolux patches.


Origin commit data
------------------
Branch: master
Commit: f0f295efa1
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-06-08 (Fri, 08 Jun 2012)



------------------
This commit was generated by Migit
2012-06-08 22:20:35 +02:00
Stefan Seyfried
5b00e16610 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.


Origin commit data
------------------
Branch: master
Commit: b9f3ae5372
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-06-08 (Fri, 08 Jun 2012)



------------------
This commit was generated by Migit
2012-06-08 22:17:30 +02:00
Stefan Seyfried
c0de97ffcc spark: fix invalid debug in cAudio::PrepareClipPlay
Origin commit data
------------------
Branch: master
Commit: 33e44c8ca3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-06-08 (Fri, 08 Jun 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-06-08 22:12:31 +02:00
Stefan Seyfried
e8b7d78be3 spark: add (and use) proc_put() to audio.cpp
Origin commit data
------------------
Branch: master
Commit: 8ea51a9dfb
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-06-08 (Fri, 08 Jun 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-06-08 22:11:39 +02:00
Stefan Seyfried
a992b15417 spark: add 1080p50 videomode (needs neutrino fix)
Origin commit data
------------------
Branch: master
Commit: 75a4d2843b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-04-14 (Sat, 14 Apr 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-04-14 10:56:36 +02:00
Stefan Seyfried
a7c4c9b0c4 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


Origin commit data
------------------
Branch: master
Commit: 5001e2f103
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-04-08 (Sun, 08 Apr 2012)

Origin message was:
------------------
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


------------------
This commit was generated by Migit
2012-04-08 17:12:52 +02:00
Stefan Seyfried
acaffe57fc spark: add hack to simulate the timeshift file length
Origin commit data
------------------
Branch: master
Commit: f72812d642
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-04-08 (Sun, 08 Apr 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-04-08 16:58:19 +02:00
Stefan Seyfried
8ef9807b87 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.


Origin commit data
------------------
Branch: master
Commit: f3d93833e1
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-04-08 (Sun, 08 Apr 2012)

Origin message was:
------------------
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.


------------------
This commit was generated by Migit
2012-04-08 14:43:40 +02:00
Stefan Seyfried
f114e8c7da spark: temporary (for testing) map "auto" video mode to 1080p50
Origin commit data
------------------
Branch: master
Commit: 56874d9721
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-04-05 (Thu, 05 Apr 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-04-05 11:58:05 +02:00
Stefan Seyfried
8b035e392f spark: return true for EOF in cPlayback::GetPosition
Origin commit data
------------------
Branch: master
Commit: 542a026b9b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-04-01 (Sun, 01 Apr 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-04-01 17:51:48 +02:00
Stefan Seyfried
fc39cb9eaf spark: set new videomode only if it differs from current
Origin commit data
------------------
Branch: master
Commit: 72089fe88d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-04-01 (Sun, 01 Apr 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-04-01 17:38:11 +02:00
Stefan Seyfried
aef8b4351f spark: fix getAspectRatio and getPictureInfo in MP mode
Origin commit data
------------------
Branch: master
Commit: 93bc0eec06
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-04-01 (Sun, 01 Apr 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-04-01 17:37:17 +02:00
Stefan Seyfried
31f614941e 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.


Origin commit data
------------------
Branch: master
Commit: e10c60b02c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-03-17 (Sat, 17 Mar 2012)



------------------
This commit was generated by Migit
2012-03-17 23:21:30 +01:00
Stefan Seyfried
8615b54755 audio: add new enums for HDMI
Origin commit data
------------------
Branch: master
Commit: 457c7a9199
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-03-08 (Thu, 08 Mar 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-03-08 20:23:23 +01:00
Stefan Seyfried
e2510f8066 dmx: fix web streaming by allowing PID 0 for pesFilter()
Origin commit data
------------------
Branch: master
Commit: 16d8d3e8c8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-03-07 (Wed, 07 Mar 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-03-07 20:29:13 +01:00
Stefan Seyfried
d8e3c187e2 spark: compensate for differing AC3/MPEG volume
Maybe the 30/53 formula neeeds some tuning, we'll find out...


Origin commit data
------------------
Branch: master
Commit: 3d9b659f17
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-03-07 (Wed, 07 Mar 2012)



------------------
This commit was generated by Migit
2012-03-07 20:06:25 +01:00
Stefan Seyfried
d21b75bc1f 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).


Origin commit data
------------------
Branch: master
Commit: 12b74e6ef3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-26 (Sun, 26 Feb 2012)



------------------
This commit was generated by Migit
2012-02-26 13:13:33 +01:00
Stefan Seyfried
6031f5f32f spark: more workaround for driver bugs in cVideo
Origin commit data
------------------
Branch: master
Commit: 6bc5518847
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-25 (Sat, 25 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-02-25 22:19:59 +01:00
Stefan Seyfried
b3594cbeae spark: use ioctls instead of procfs in cVideo::getPictureInfo
Origin commit data
------------------
Branch: master
Commit: cd90a23b46
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-25 (Sat, 25 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-02-25 22:18:42 +01:00
Stefan Seyfried
2c66f48cb4 spark: improve cVideo::Pig()
Origin commit data
------------------
Branch: master
Commit: 86a5316bd7
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-25 (Sat, 25 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-02-25 22:17:53 +01:00
Stefan Seyfried
70e2f30a8c spark: improve cVideo::ShowPicture()
* don't clear stillpicture on radio channel change
* don't show stillpicture in standby


Origin commit data
------------------
Branch: master
Commit: 55d0d90b5b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-25 (Sat, 25 Feb 2012)



------------------
This commit was generated by Migit
2012-02-25 22:15:37 +01:00
Stefan Seyfried
4715d61929 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


Origin commit data
------------------
Branch: master
Commit: 7bf0a98909
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-25 (Sat, 25 Feb 2012)



------------------
This commit was generated by Migit
2012-02-25 21:18:07 +01:00
Stefan Seyfried
befa14ce69 libspark: fix cAudio::do_mute()
Origin commit data
------------------
Branch: master
Commit: 1cddb85070
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-25 (Sat, 25 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-02-25 21:14:04 +01:00
Stefan Seyfried
347921654a 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


Origin commit data
------------------
Branch: master
Commit: ee1a408f9b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-25 (Sat, 25 Feb 2012)



------------------
This commit was generated by Migit
2012-02-25 14:54:45 +01:00
Stefan Seyfried
ac5c0ea2b8 spark: implement cAudio::SetSyncMode
Origin commit data
------------------
Branch: master
Commit: c9ff86fd77
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-25 (Sat, 25 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-02-25 14:30:30 +01:00
Stefan Seyfried
8e7135624f 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.


Origin commit data
------------------
Branch: master
Commit: fd5d65b07d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-25 (Sat, 25 Feb 2012)



------------------
This commit was generated by Migit
2012-02-25 14:27:59 +01:00
Stefan Seyfried
a4bf240276 spark: only reopen decoders in cPlayback::Close if we closed them
Origin commit data
------------------
Branch: master
Commit: 904d91f82b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-25 (Sat, 25 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-02-25 14:19:30 +01:00
Stefan Seyfried
7592a3a61f 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


Origin commit data
------------------
Branch: master
Commit: 5cd42eb204
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-25 (Sat, 25 Feb 2012)



------------------
This commit was generated by Migit
2012-02-25 13:24:22 +01:00
Stefan Seyfried
ad374bddf9 spark: cVideo::SetVideoMode ignore irrelevant modes
Origin commit data
------------------
Branch: master
Commit: 6c5a60e128
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-25 (Sat, 25 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-02-25 13:23:19 +01:00
Stefan Seyfried
23b2809ede spark: make cVideo::openDevice ignorem ultiple calls
Origin commit data
------------------
Branch: master
Commit: 26d7f46280
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-25 (Sat, 25 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-02-25 13:13:07 +01:00
Stefan Seyfried
4338d16370 spark: fix invalid debug calls
Origin commit data
------------------
Branch: master
Commit: 703c416e83
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-25 (Sat, 25 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-02-25 13:10:10 +01:00
Stefan Seyfried
6022d3f16f spark: partly implement cVideo::Standby()
Origin commit data
------------------
Branch: master
Commit: 31e2bd5c45
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-23 (Thu, 23 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-02-23 23:33:00 +01:00
Stefan Seyfried
0e39c66f98 spark: implement cVideo::SetVideoMode
this should add rudimentary support to get SCART output working


Origin commit data
------------------
Branch: master
Commit: eb8439be3e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-23 (Thu, 23 Feb 2012)



------------------
This commit was generated by Migit
2012-02-23 23:31:49 +01:00
Stefan Seyfried
6412eb79c4 spark: use ioctl instead of /proc to get video format
Origin commit data
------------------
Branch: master
Commit: 3e37ee54a6
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-23 (Thu, 23 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-02-23 23:27:53 +01:00
Stefan Seyfried
b574a0e5d4 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 :-(


Origin commit data
------------------
Branch: master
Commit: 63eb51a028
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-23 (Thu, 23 Feb 2012)



------------------
This commit was generated by Migit
2012-02-23 23:25:11 +01:00
Stefan Seyfried
827891745b spark: remove unused cVideo() functions
Origin commit data
------------------
Branch: master
Commit: 027308e310
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-23 (Thu, 23 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-02-23 23:11:13 +01:00
Stefan Seyfried
eba1aae1e0 spark: implement cVideo::SetVideoSystem()
Origin commit data
------------------
Branch: master
Commit: 32fabdb53d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-22 (Wed, 22 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-02-22 23:31:59 +01:00
Stefan Seyfried
c1fbccfb07 spark: silence irmp debugging messages after last merge
Origin commit data
------------------
Branch: master
Commit: 9710f6df22
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-22 (Wed, 22 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-02-22 20:11:27 +01:00
Stefan Seyfried
aeea36eb31 spark: fix IR remote address after IRMP update
Origin commit data
------------------
Branch: master
Commit: a17729f590
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-21 (Tue, 21 Feb 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-02-21 19:07:14 +01:00