Commit Graph

815 Commits

Author SHA1 Message Date
Stefan Seyfried
5fa64f43b8 create common proc_tools
proc_put, proc_get and proc_get_hex are used in many files.
Avoid duplication by moving them to common/proc_tools.c.
Convert azbox's cVideo to use proc_tools.h


Origin commit data
------------------
Branch: master
Commit: 47941bd849
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-06-24 (Sun, 24 Jun 2012)



------------------
This commit was generated by Migit
2012-06-24 12:26:03 +02:00
Stefan Seyfried
33996776d4 azbox: fix cVideo::ShowPicture
Origin commit data
------------------
Branch: master
Commit: 2e05d5fd6f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-06-24 (Sun, 24 Jun 2012)


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

------------------
This commit was generated by Migit
2012-06-24 00:14:55 +02:00
Stefan Seyfried
302b5354e3 azbox: implement cVideo::getBlank
Origin commit data
------------------
Branch: master
Commit: f0cc9479cf
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-06-23 (Sat, 23 Jun 2012)


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

------------------
This commit was generated by Migit
2012-06-23 23:46:39 +02:00
Stefan Seyfried
d2b6b3fc25 azbox: improve cVideo::setAspectRatio
Origin commit data
------------------
Branch: master
Commit: 07ba8c9eb9
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-06-23 (Sat, 23 Jun 2012)


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

------------------
This commit was generated by Migit
2012-06-23 23:40:25 +02:00
Stefan Seyfried
4b366b0f79 azbox: terminate string in video/proc_get
Origin commit data
------------------
Branch: master
Commit: ab2140161a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-06-23 (Sat, 23 Jun 2012)


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

------------------
This commit was generated by Migit
2012-06-23 23:39:31 +02:00
Stefan Seyfried
e6450f7f08 first preliminary AZzbox ME support
TODO: some code is very similar to SPARK (record and pwrmngr
are just symlinked, dmx is almost identical). Reduce duplication
by factoring out DVBAPI code into an extra directory.
* what works: audio, video, demux
* what probably doesn't work or is untested: record
* what very likely doesn't work: playback
Playback is just copied over from aztrino and made to compile.
If you are lucky, it just segfaults :-)


Origin commit data
------------------
Branch: master
Commit: 0ac7346489
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-06-18 (Mon, 18 Jun 2012)



------------------
This commit was generated by Migit
2012-06-18 14:48:52 +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
a9ce0906c3 spark_fp: improve wakeup time for short timeouts
Origin commit data
------------------
Branch: master
Commit: 2f1ee80b8e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-05-01 (Tue, 01 May 2012)


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

------------------
This commit was generated by Migit
2012-05-01 20:24:49 +02:00
Stefan Seyfried
236ad74fd5 spark: add spark_fp tool
this needs my patched aotom driver to work


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



------------------
This commit was generated by Migit
2012-04-15 18:53:58 +02:00
Stefan Seyfried
206e0202a4 use crosscompile-friendly AC_PATH_TOOL to find pkg-config
Origin commit data
------------------
Branch: master
Commit: 1c2231326f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-04-15 (Sun, 15 Apr 2012)


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

------------------
This commit was generated by Migit
2012-04-15 12:04:45 +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
f907005780 libeplayer3: silence a seemingly harmless warning
Origin commit data
------------------
Branch: master
Commit: c4b359bf92
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 17:16:06 +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
51340158eb triple: 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
(the same as commit 347921654a on spark)


Origin commit data
------------------
Branch: master
Commit: 4aa3f8f617
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-03-30 (Fri, 30 Mar 2012)



------------------
This commit was generated by Migit
2012-03-30 19:37:36 +02:00
Stefan Seyfried
f10ae4e7b0 triple: improve DFB->uinput routines
* use kernel input device repeat instead of generating selfmade
 repeat events, this allows using input device rate settings
* add frontpanel left/right buttons, their keycodes differ from
 the rc buttons


Origin commit data
------------------
Branch: master
Commit: 123a1b75a8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-03-25 (Sun, 25 Mar 2012)

Origin message was:
------------------
triple: improve DFB->uinput routines

* use kernel input device repeat instead of generating selfmade
 repeat events, this allows using input device rate settings
* add frontpanel left/right buttons, their keycodes differ from
 the rc buttons


------------------
This commit was generated by Migit
2012-03-25 20:42:26 +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
60c2a1c857 triple: fix audio mute state after fast-forwarding in playback
Origin commit data
------------------
Branch: master
Commit: 9812df6bba
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-03-04 (Sun, 04 Mar 2012)


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

------------------
This commit was generated by Migit
2012-03-06 20:08:31 +01:00
Stefan Seyfried
05baaca9da 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.


Origin commit data
------------------
Branch: master
Commit: 137948804b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-03-04 (Sun, 04 Mar 2012)



------------------
This commit was generated by Migit
2012-03-06 20:08:24 +01:00
Stefan Seyfried
2e5ca871de libeplayer3: get rid of __FILE__ for shorter logmessages
Origin commit data
------------------
Branch: master
Commit: d2a05977e5
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-26 (Sun, 26 Feb 2012)


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

------------------
This commit was generated by Migit
2012-02-26 16:11:45 +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