Commit Graph

15 Commits

Author SHA1 Message Date
Stefan Seyfried
061ff99bf9 libtriple: improve cPlayback performance
avoid unnecessary memcpy in read_mpeg(), significantly improving performance


Origin commit data
------------------
Commit: 35b07cd355
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-01-15 (Sun, 15 Jan 2012)
2012-04-17 19:33:51 +02:00
Stefan Seyfried
5fed4889af libtriple: try to make all filedescriptors O_CLOEXEC
Origin commit data
------------------
Commit: 4d9be7852d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-12-04 (Sun, 04 Dec 2011)
2012-04-17 19:33:50 +02:00
Stefan Seyfried
c6b14596ca libtriple: improve lt_debug
* add current instance
* shorten lt_debug messages


Origin commit data
------------------
Commit: 9cbede9fec
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-10-02 (Sun, 02 Oct 2011)
2012-04-17 19:33:49 +02:00
Stefan Seyfried
101047428c 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


Origin commit data
------------------
Commit: 997153cb8f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-05-15 (Sun, 15 May 2011)
2012-04-17 19:33:48 +02:00
Stefan Seyfried
7550da2530 libtriple: fix seeking in cPlayback if there's a PTS overflow
Origin commit data
------------------
Commit: 6497e4c310
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-03-07 (Mon, 07 Mar 2011)
2012-04-17 19:33:47 +02:00
Stefan Seyfried
3df0d9c34d libtriple: sync cPlayback with libcoolstream changes
Origin commit data
------------------
Commit: 7828eeb103
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-02-20 (Sun, 20 Feb 2011)
2012-04-17 19:33:47 +02:00
Stefan Seyfried
e039c07c87 libtriple: convert cPlayback to lt_debug/lt_info
Origin commit data
------------------
Commit: 460ccf37ee
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-02-06 (Sun, 06 Feb 2011)
2012-04-17 19:33:46 +02:00
Stefan Seyfried
92cea47c29 libtriple: improve debug architecture
every libtriple module can have its debug output enabled separately
by exporting the TRIPLE_DEBUG variable


Origin commit data
------------------
Commit: 4435f30b3c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-02-06 (Sun, 06 Feb 2011)
2012-04-17 19:33:46 +02:00
Stefan Seyfried
cb95a929f1 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


Origin commit data
------------------
Commit: ec2ad396c0
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-01-02 (Sun, 02 Jan 2011)

Origin message was:
------------------
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
f045042e97 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


Origin commit data
------------------
Commit: a07e6a3a30
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-08-29 (Sun, 29 Aug 2010)
2012-04-17 19:33:43 +02:00
Stefan Seyfried
fe71abe9d8 libtriple: fix compiler warnings in playback_td
Origin commit data
------------------
Commit: d95e1bbaf3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-08-29 (Sun, 29 Aug 2010)
2012-04-17 19:33:43 +02:00
Stefan Seyfried
c395d04299 libtriple: cPlayback: improve get_pts
* add the buffer size to the call to avoid overflows
* extract PTS also from MPEG1 packets


Origin commit data
------------------
Commit: f50f68677f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-08-29 (Sun, 29 Aug 2010)
2012-04-17 19:33:43 +02:00
Stefan Seyfried
d80e3a4da6 libtriple: implement mpeg/vdr playback
Origin commit data
------------------
Commit: 2698788643
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-08-15 (Sun, 15 Aug 2010)
2012-04-17 19:33:43 +02:00
Stefan Seyfried
41a21a9a1d 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.


Origin commit data
------------------
Commit: a3440d19df
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-08-14 (Sat, 14 Aug 2010)
2012-04-17 19:33:43 +02:00
Stefan Seyfried
0374742504 libtriple: implement working cPlayback class
no fast forward, no mpeg playback (yet ;)


Origin commit data
------------------
Commit: 912b736dee
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-03-13 (Sat, 13 Mar 2010)
2012-04-17 19:33:42 +02:00