28 Commits

Author SHA1 Message Date
Stefan Seyfried
fd2f0f1fd4 cPlayback: implement new libcoolstream interfaces
a new "Start" and changed "SelectSubtitles" function are
implemented to fix compilation (mostly stubbed out, though)
2016-10-22 11:29:32 +02:00
Stefan Seyfried
e7f5c17256 add cPlayback::GetReadCount() 2015-12-13 16:16:24 +01:00
Stefan Seyfried
78f49580e0 use audio_hal.h and dmx_hal.h instead of *_td.h 2015-02-13 18:11:16 +01:00
Stefan Seyfried
bbb50fc606 add dummy cPlayback GetTitles() and SetTitle(); 2014-02-23 15:02:31 +01:00
Stefan Seyfried
e746daaf5a all: clean up cPlayback header, hide private stuff
compile tested only ;)
2013-11-02 23:39:31 +01:00
Stefan Seyfried
1166d49486 all: clean up cAudio header, separate private stuff 2013-11-02 20:06:29 +01:00
Stefan Seyfried
69527185a9 all: clean up cVideo header, separate private stuff 2013-11-02 18:44:34 +01:00
Stefan Seyfried
5a56339925 all: clean up cDemux headers 2013-11-02 16:44:39 +01:00
Stefan Seyfried
03754e8bc5 playback: add dummy RequestAbort() functions 2013-10-21 17:32:21 +02:00
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
eb7f51252e triple: avoid a crash in cPlayback destructor 2013-03-03 22:07:56 +01:00
Stefan Seyfried
618d1d6525 triple: add necessary locking for inbuf_pos in cPlayback 2012-07-14 10:54:01 +02:00
Stefan Seyfried
9812df6bba triple: fix audio mute state after fast-forwarding in playback 2012-03-06 20:08:31 +01:00
Stefan Seyfried
2ba4fe17c7 libtriple: improve cPlayback performance
avoid unnecessary memcpy in read_mpeg(), significantly improving performance
2012-01-15 19:55:10 +01:00
Stefan Seyfried
5a8f5b3b20 libtriple: try to make all filedescriptors O_CLOEXEC 2011-12-04 15:54:49 +01:00
Stefan Seyfried
dc5a44a365 libtriple: improve lt_debug
* add current instance
* shorten lt_debug messages
2011-11-06 16:13:08 +01:00
Stefan Seyfried
9222f4d5dc 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
2011-11-06 16:13:07 +01:00
Stefan Seyfried
56902846da libtriple: fix seeking in cPlayback if there's a PTS overflow 2011-11-06 16:13:07 +01:00
Stefan Seyfried
9803550595 libtriple: sync cPlayback with libcoolstream changes 2011-11-06 16:13:06 +01:00
Stefan Seyfried
511a57e10e libtriple: convert cPlayback to lt_debug/lt_info 2011-11-06 16:13:06 +01:00
Stefan Seyfried
45e7d0d9fa libtriple: improve debug architecture
every libtriple module can have its debug output enabled separately
by exporting the TRIPLE_DEBUG variable
2011-11-06 16:13:06 +01:00
Stefan Seyfried
ec4a615036 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
2011-11-06 16:13:05 +01:00
Stefan Seyfried
67fdebfb32 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
2011-11-06 16:13:04 +01:00
Stefan Seyfried
9c10719f91 libtriple: fix compiler warnings in playback_td 2011-11-06 16:13:03 +01:00
Stefan Seyfried
c0a18f269a libtriple: cPlayback: improve get_pts
* add the buffer size to the call to avoid overflows
* extract PTS also from MPEG1 packets
2011-11-06 16:13:03 +01:00
Stefan Seyfried
64dc2ae85c libtriple: implement mpeg/vdr playback 2011-11-06 16:13:03 +01:00
Stefan Seyfried
fe6666cda7 libtriple: implement fast forward in cPlayback()
First try at implementing fast forward. Needs more love.
Reverse does not work yet, setting speed to negative values
right now simply resets to "play" mode.
2011-11-06 16:13:03 +01:00
Stefan Seyfried
7076b238ee libtriple: implement working cPlayback class
no fast forward, no mpeg playback (yet ;)
2011-11-06 16:13:03 +01:00