summaryrefslogtreecommitdiff
path: root/remux.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-06-21 13:34:40 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-06-21 13:34:40 +0200
commite33ba08af4548210034ce628c4bb5fa69b08b4e0 (patch)
treea279fddebc5623aee4f5e80cc220dc90620c5a73 /remux.h
parentb14d498613ce2ccbdf487b5dae2394bbdc8a6478 (diff)
downloadvdr-e33ba08af4548210034ce628c4bb5fa69b08b4e0.tar.gz
vdr-e33ba08af4548210034ce628c4bb5fa69b08b4e0.tar.bz2
Fixed cDevice::PlayTsVideo() and cDevice::PlayTsAudio() in case only part of the buffer has been accepted by the device
Diffstat (limited to 'remux.h')
-rw-r--r--remux.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/remux.h b/remux.h
index 0dd1a9ab..84b35f06 100644
--- a/remux.h
+++ b/remux.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: remux.h 2.17 2009/06/06 13:26:23 kls Exp $
+ * $Id: remux.h 2.18 2009/06/21 13:01:30 kls Exp $
*/
#ifndef __REMUX_H
@@ -252,6 +252,9 @@ private:
int size;
int length;
int offset;
+ uchar *lastData;
+ int lastLength;
+ bool repeatLast;
public:
cTsToPes(void);
~cTsToPes();
@@ -279,6 +282,9 @@ public:
///< TS packet that will be given to PutTs() has the "payload start" flag
///< set, because this is the only way to determine the end of a video PES
///< packet.
+ void SetRepeatLast(void);
+ ///< Makes the next call to GetPes() return exactly the same data as the
+ ///< last one (provided there was no call to Reset() in the meantime).
void Reset(void);
///< Resets the converter. This needs to be called after a PES packet has
///< been fetched by a call to GetPes(), and before the next call to