Stefan Seyfried
6497e4c310
libtriple: fix seeking in cPlayback if there's a PTS overflow
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
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
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
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
d95e1bbaf3
libtriple: fix compiler warnings in playback_td
2012-04-17 19:33:43 +02:00
Stefan Seyfried
f50f68677f
libtriple: cPlayback: improve get_pts
...
* add the buffer size to the call to avoid overflows
* extract PTS also from MPEG1 packets
2012-04-17 19:33:43 +02:00
Stefan Seyfried
2698788643
libtriple: implement mpeg/vdr playback
2012-04-17 19:33:43 +02:00
Stefan Seyfried
a3440d19df
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.
2012-04-17 19:33:43 +02:00
Stefan Seyfried
912b736dee
libtriple: implement working cPlayback class
...
no fast forward, no mpeg playback (yet ;)
2012-04-17 19:33:42 +02:00