diff options
| author | Comment <tim@gray.(none)> | 2013-09-20 15:30:57 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-09-20 15:30:57 +0100 |
| commit | 47a4f30fc852f4d49df6df7b4974c7c4751107f3 (patch) | |
| tree | b7c64f304707d5e187d9ac696f5e38dc0b672179 /rotord/src/graph.h | |
| parent | a740d4167e6dbd95dbd82e5d217761af8ef12b6f (diff) | |
making video top and tail
Diffstat (limited to 'rotord/src/graph.h')
| -rw-r--r-- | rotord/src/graph.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rotord/src/graph.h b/rotord/src/graph.h index cc531cd..60e61db 100644 --- a/rotord/src/graph.h +++ b/rotord/src/graph.h @@ -16,7 +16,7 @@ Graph is an instance of a rotor renderer namespace Rotor { class Graph{ public: - Graph(){duration=20.0f;loaded = false;outW=640;outH=360;}; + Graph(){duration=20.0f;loaded = false;outW=640;outH=360;audio_thumb=new Audio_thumbnailer();}; Graph(const string& _uid,const string& _desc){ init(_uid,_desc); audio_loaded=false; @@ -29,7 +29,7 @@ namespace Rotor { framerate=25.0f; cancelled=false; }; - ~Graph(){ clear(); }; + ~Graph(){ clear(); delete audio_thumb;}; void clear(){ for (auto n: nodes) { delete n.second; @@ -72,6 +72,8 @@ namespace Rotor { bool cancelled; float progress; int bitRate; + + Audio_thumbnailer *audio_thumb; private: int outW,outH; |
