diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-09-06 16:05:12 +0200 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2009-09-06 16:05:12 +0200 |
commit | 3a4961f8a77f781f0101019c4eca8424d23953f7 (patch) | |
tree | fe44ea5fcec88db2852c7ee7d5d449d68b30afce | |
parent | 78aeb8440ef4a734bb0836ef65c65fff43ca61df (diff) | |
download | vdr-plugin-dxr3-3a4961f8a77f781f0101019c4eca8424d23953f7.tar.gz vdr-plugin-dxr3-3a4961f8a77f781f0101019c4eca8424d23953f7.tar.bz2 |
make cSpuEncoder a singleton
-rw-r--r-- | spuencoder.h | 3 |
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); |