diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2016-12-22 13:14:10 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2016-12-22 13:14:10 +0100 |
commit | 26252c37cdff5f0fd5d5659823aaa59f2ab26bd9 (patch) | |
tree | 96a3df2f0d01a6d5e9ad57e2fbfca7ac8987598b /remux.h | |
parent | b6080634cc57b02f53d427deb45a2dcc297c94be (diff) | |
download | vdr-26252c37cdff5f0fd5d5659823aaa59f2ab26bd9.tar.gz vdr-26252c37cdff5f0fd5d5659823aaa59f2ab26bd9.tar.bz2 |
Fixed regenerating the index of audio recordings
Diffstat (limited to 'remux.h')
-rw-r--r-- | remux.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; } |