From 26252c37cdff5f0fd5d5659823aaa59f2ab26bd9 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 22 Dec 2016 13:14:10 +0100 Subject: Fixed regenerating the index of audio recordings --- remux.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'remux.h') 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; } -- cgit v1.2.3