summaryrefslogtreecommitdiff
path: root/remux.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2016-12-22 13:14:10 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2016-12-22 13:14:10 +0100
commit26252c37cdff5f0fd5d5659823aaa59f2ab26bd9 (patch)
tree96a3df2f0d01a6d5e9ad57e2fbfca7ac8987598b /remux.h
parentb6080634cc57b02f53d427deb45a2dcc297c94be (diff)
downloadvdr-26252c37cdff5f0fd5d5659823aaa59f2ab26bd9.tar.gz
vdr-26252c37cdff5f0fd5d5659823aaa59f2ab26bd9.tar.bz2
Fixed regenerating the index of audio recordings
Diffstat (limited to 'remux.h')
-rw-r--r--remux.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/remux.h b/remux.h
index 23ce681e..5eab076f 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 3.4 2014/03/26 11:42:17 kls Exp $
+ * $Id: remux.h 4.1 2016/12/22 13:09:54 kls Exp $
*/
#ifndef __REMUX_H
@@ -361,6 +361,7 @@ private:
uint16_t compositionPageIds[MAXSPIDS];
uint16_t ancillaryPageIds[MAXSPIDS];
bool updatePrimaryDevice;
+ bool completed;
protected:
int SectionLength(const uchar *Data, int Length) { return (Length >= 3) ? ((int(Data[1]) & 0x0F) << 8)| Data[2] : 0; }
public:
@@ -397,6 +398,8 @@ public:
int Vtype(void) const { return vtype; }
///< Returns the video stream type as defined by the current PMT, or 0 if no video
///< stream type has been detected, yet.
+ bool Completed(void) { return completed; }
+ ///< Returns true if the PMT has been completely parsed.
const int *Apids(void) const { return apids; }
const int *Dpids(void) const { return dpids; }
const int *Spids(void) const { return spids; }