Commit Graph

6 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
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
9803550595 libtriple: sync cPlayback with libcoolstream changes 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
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
7076b238ee libtriple: implement working cPlayback class
no fast forward, no mpeg playback (yet ;)
2011-11-06 16:13:03 +01:00