Commit Graph

413 Commits

Author SHA1 Message Date
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
Stefan Seyfried
997153cb8f libtriple: improve audio stream handling in cPlayback()
use a c++ map instead of arrays to store audio stream data
Side effect: audio streams as returned by findAllPids() are now
sorted by pid, helping default selection for MPEG and VDR streams
2012-04-17 19:33:48 +02:00
Stefan Seyfried
4a49f203f7 libtriple: implement cVideo::SetSyncMode() 2012-04-17 19:33:47 +02:00
Stefan Seyfried
2df67d32f4 libtriple: implement cAudio::SetSyncMode() 2012-04-17 19:33:47 +02:00
Stefan Seyfried
6b2958d609 libtriple: cVideo enabled SCART during record in standby 2012-04-17 19:33:47 +02:00
Stefan Seyfried
6497e4c310 libtriple: fix seeking in cPlayback if there's a PTS overflow 2012-04-17 19:33:47 +02:00
Stefan Seyfried
ae38a828f0 libdvbsub: hacks to try to improve the situation on TD
those don't really help yet, unfortunately
2012-04-17 19:33:47 +02:00
Stefan Seyfried
7828eeb103 libtriple: sync cPlayback with libcoolstream changes 2012-04-17 19:33:47 +02:00
Stefan Seyfried
99a5c040a3 libtriple: fix compiler warning in cs_get_revision() 2012-04-17 19:33:47 +02:00
Stefan Seyfried
6719a44dc9 libtriple: convert cDemux to lt_info 2012-04-17 19:33:47 +02:00
Stefan Seyfried
93e90cc4e1 libtriple: add workaround for 'odd filter length' problem in cDemux 2012-04-17 19:33:46 +02:00
Stefan Seyfried
71f1a1e9e3 libtriple: convert cAudio to lt_info, improve debug output 2012-04-17 19:33:46 +02:00
Stefan Seyfried
b24c2c86ee libtriple: add debug flag to disable SCART switching (debug) 2012-04-17 19:33:46 +02:00
Stefan Seyfried
f21ba6a694 libtriple: remove unneeded includes, disable strict aliasing 2012-04-17 19:33:46 +02:00
Stefan Seyfried
a9a771a686 libtriple: convert cVideo to lt_debug/lt_info, don't use zapit debug 2012-04-17 19:33:46 +02:00
Stefan Seyfried
460ccf37ee libtriple: convert cPlayback to lt_debug/lt_info 2012-04-17 19:33:46 +02:00
Stefan Seyfried
4435f30b3c libtriple: improve debug architecture
every libtriple module can have its debug output enabled separately
by exporting the TRIPLE_DEBUG variable
2012-04-17 19:33:46 +02:00
Stefan Seyfried
6eae455676 libtriple: implement PCM playback in cAudio() 2012-04-17 19:33:46 +02:00
Stefan Seyfried
d812673a4e libtriple: add ChangePids() to cRecord
This is pretty much untested for now, handle with care!
2012-04-17 19:33:46 +02:00
Stefan Seyfried
7ff71707c0 libtriple: add getPesPids() and removePid() to cDemux 2012-04-17 19:33:46 +02:00
Stefan Seyfried
bb78f6d4eb libtriple: remember the filedescriptor belonging to each pid in cDemux() 2012-04-17 19:33:45 +02:00
Stefan Seyfried
ec2ad396c0 libtriple: improve cPlayback()
* avoid race conditions by using a mutex to protect curr_pos, fixing
  artefacts during timeshift playback
* make GetPosition() cheaper by interpolating end_pts and only fetching
  the "real" end_pts after the file has grown by 10MB
2012-04-17 19:33:45 +02:00
Stefan Seyfried
e786a4ef75 libtriple: fix filedescriptor leak in cVideo::routeVideo() 2012-04-17 19:33:45 +02:00
Stefan Seyfried
65b46d56f2 libtriple: fix up cVideo::setAspectRatio() 2012-04-17 19:33:45 +02:00
Stefan Seyfried
5ae19e4e49 libtriple: add cVideo::VideoParamWatchdog() 2012-04-17 19:33:45 +02:00
Stefan Seyfried
9fc1d89563 libtriple/framebuffer: use DirectFB acceleration
Use a hack, almost as ugly as the original Coolstream code ;),
to accelerate drawing of boxes and blitting with DirectFB functions.
2012-04-17 19:33:43 +02:00
Stefan Seyfried
000fbfe74b libtriple: add usable dummy cCA class 2012-04-17 19:33:43 +02:00
Stefan Seyfried
a07e6a3a30 libtriple: add support for MPEG1 files to cPlayback
Now we can play the "Warriors of the Net" clip :-)
http://ftp.sunet.se/pub/tv+movies/warriors/warriors-700-VBR.mpg
2012-04-17 19:33:43 +02:00
Stefan Seyfried
81ae635dcb libtriple: add debug messages to cDemux and cVideo functions 2012-04-17 19:33:43 +02:00
Stefan Seyfried
6aaa97c423 libtriple: reduce some messages to debug, consolidate scart messages 2012-04-17 19:33:43 +02:00
Stefan Seyfried
0249c65167 libtriple: hack different notify sizes for subs and ttx into cDemux 2012-04-17 19:33:43 +02:00