summaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
authorThomas Reufer <thomas@reufer.ch>2014-02-10 21:53:25 +0100
committerThomas Reufer <thomas@reufer.ch>2014-02-10 21:53:25 +0100
commit0094472cda6eefa9b5363ad844daf0fcfd00c326 (patch)
treeb577f931820ef3899da856f9ccd0de04f4c8ffa8 /setup.h
parent88f137d194b1768344e954a1b1d35fb1fce03df9 (diff)
downloadvdr-plugin-rpihddevice-0.0.8.tar.gz
vdr-plugin-rpihddevice-0.0.8.tar.bz2
2014-02-10: Version 0.0.80.0.8
------------------------- - new: - image grabbing - implemented proper handling in case of buffer stall - reporting video size - support letter box and center cut out set by VDR - support video scaling - fixed: - increased number of audio buffer to fix replay issues with PES recordings - return correct number of audio bytes written from PlayAudio() - fixed start up in audio only mode - fixed still image with deinterlacer - fixed crash during deinitialization - fixed crash when copying 5.1 PCM audio - use cThread::mutex for locking - implement cOvgOsd::SetAreas() and cOvgOsd::SetActive() - audio codec clean up, drop AAC-LATM and rename ADTS to AAC - audio decoding thread clean up - known issues - StillImage() will cause buffer stall - artifacts with StillImage() and PES recordings - speed to fast when fast replaying audio only recordings
Diffstat (limited to 'setup.h')
-rw-r--r--setup.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/setup.h b/setup.h
index a5ee414..6951a96 100644
--- a/setup.h
+++ b/setup.h
@@ -8,7 +8,7 @@
#define SETUP_H
#include "omx.h"
-#include "types.h"
+#include "tools.h"
class cRpiSetup
{
@@ -34,7 +34,9 @@ public:
}
static int GetDisplaySize(int &width, int &height, double &aspect);
- static bool IsDisplayProgressive(void);
+
+ static bool IsDisplayProgressive(void) {
+ return GetInstance()->m_isProgressive; }
static cRpiSetup* GetInstance(void);
static void DropInstance(void);
@@ -44,7 +46,13 @@ public:
private:
- cRpiSetup() : m_audioSetupChanged(false), m_mpeg2Enabled(false) { }
+ cRpiSetup() :
+ m_audioSetupChanged(false),
+ m_mpeg2Enabled(false),
+ m_isProgressive(false),
+ m_displayHeight(0),
+ m_displayWidth(0) { }
+
virtual ~cRpiSetup() { }
static cRpiSetup* s_instance;
@@ -55,6 +63,10 @@ private:
bool m_audioSetupChanged;
bool m_mpeg2Enabled;
+ bool m_isProgressive;
+
+ int m_displayHeight;
+ int m_displayWidth;
};
#endif