summaryrefslogtreecommitdiff
path: root/spuencoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'spuencoder.h')
-rw-r--r--spuencoder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/spuencoder.h b/spuencoder.h
index f190636..42a4d34 100644
--- a/spuencoder.h
+++ b/spuencoder.h
@@ -29,6 +29,7 @@
#include <stdint.h>
#include <vdr/osd.h>
+#include "dxr3singleton.h"
static const int MAX_SPU_DATA = 65220; // TODO vaidate this value
@@ -39,7 +40,7 @@ struct sRle {
uint16_t bottomLen;
};
-class cSpuEncoder {
+class cSpuEncoder : public Singleton<cSpuEncoder> {
public:
void clearOsd();
void encode(cBitmap *bmap, int top, int left);