summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dxr3configdata.h2
-rw-r--r--dxr3demuxdevice.h2
-rw-r--r--dxr3interface.h1
-rw-r--r--dxr3pesframe.h3
-rw-r--r--dxr3syncbuffer.h5
-rw-r--r--dxr3sysclock.h3
6 files changed, 6 insertions, 10 deletions
diff --git a/dxr3configdata.h b/dxr3configdata.h
index 95111b4..e397fad 100644
--- a/dxr3configdata.h
+++ b/dxr3configdata.h
@@ -72,7 +72,7 @@ public:
int GetUseWSS() const { return m_usewss; }
int SetUseWSS(int value) { return m_usewss = value; }
-protected:
+private:
eVideoMode m_videomode;
int m_usewss;
int m_digitaloutput;
diff --git a/dxr3demuxdevice.h b/dxr3demuxdevice.h
index 6fc768d..c3bc83b 100644
--- a/dxr3demuxdevice.h
+++ b/dxr3demuxdevice.h
@@ -60,7 +60,7 @@ public:
return m_aBuf.Poll(TimeoutMs) && m_vBuf.Poll(TimeoutMs);
};
-protected:
+private:
cDxr3Interface& m_dxr3Device;
cDxr3SyncBuffer m_aBuf;
cDxr3SyncBuffer m_vBuf;
diff --git a/dxr3interface.h b/dxr3interface.h
index fc5560a..6428ae1 100644
--- a/dxr3interface.h
+++ b/dxr3interface.h
@@ -178,7 +178,6 @@ private:
void ConfigureDevice();
void Resuscitation();
-protected:
static cMutex* m_pMutex; ///< mutex for dxr3interface
static void Lock()
diff --git a/dxr3pesframe.h b/dxr3pesframe.h
index c4723f7..555672d 100644
--- a/dxr3pesframe.h
+++ b/dxr3pesframe.h
@@ -121,7 +121,7 @@ public:
return m_offset;
}
-protected:
+private:
void InitData()
{
m_pesDataType = PES_UNKNOWN_DATA;
@@ -156,7 +156,6 @@ protected:
const int16_t *decoded;
SampleContext ctx;
-protected:
static const uint32_t MAX_PES_HEADER_SIZE;
};
diff --git a/dxr3syncbuffer.h b/dxr3syncbuffer.h
index 1cfe07d..f541b8c 100644
--- a/dxr3syncbuffer.h
+++ b/dxr3syncbuffer.h
@@ -65,7 +65,7 @@ public:
uint32_t GetAspectRatio() { return m_videoAspectRatio; }
eFrameType GetFrameType() { return m_type; }
-protected:
+private:
uint8_t* m_pData;
int m_count;
int m_length;
@@ -123,7 +123,7 @@ public:
return Available() * 100 / Size();
};
-protected:
+private:
void ReceiverStopped(void);
cFixedLengthFrame* m_pBuffer;
@@ -145,7 +145,6 @@ protected:
cDxr3Interface& m_dxr3Device;
bool m_bPollSync;
-private:
cDxr3SyncBuffer(); // you are not allowed to use this constructor
};
diff --git a/dxr3sysclock.h b/dxr3sysclock.h
index 72f3304..f9fc3e5 100644
--- a/dxr3sysclock.h
+++ b/dxr3sysclock.h
@@ -39,13 +39,12 @@ public:
virtual ~cDxr3SysClock() {};
-public:
void SetSysClock(uint32_t scr);
uint32_t GetSysClock(void);
void SetPts(uint32_t pts);
void SetSpuPts(uint32_t pts);
-protected:
+private:
int m_fdcontrol;
int m_fdvideo;
int m_fdspu;