]> git.sesse.net Git - nageru/blobdiff - theme.h
If we have waiting B-frames at the end of the encode, encode them as such.
[nageru] / theme.h
diff --git a/theme.h b/theme.h
index a3bc8ea16844439f1d25bf988238701d87448e64..48039734a840f58f90924b514eeaaf27f1f61657 100644 (file)
--- a/theme.h
+++ b/theme.h
@@ -40,6 +40,7 @@ public:
 class Theme {
 public:
        Theme(const char *filename, movit::ResourcePool *resource_pool, unsigned num_cards);
+       ~Theme();
 
        struct Chain {
                movit::EffectChain *chain;
@@ -63,6 +64,8 @@ public:
        void transition_clicked(int transition_num, float t);
        void channel_clicked(int preview_num);
 
+       movit::ResourcePool *get_resource_pool() const { return resource_pool; }
+
 private:
        void register_class(const char *class_name, const luaL_Reg *funcs);