diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-06-07 16:14:33 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-06-07 16:14:33 +0100 |
| commit | a3801a0476f86b2a8ec69ef4060b1cdd605ec420 (patch) | |
| tree | 800d400f814ecd12caa6f83f8c36ca8c359daf77 /rotord/rotor.h | |
| parent | 49ed3d2e3e4ed8385e8c007c334c01c65cd3acfe (diff) | |
fixed 2nd render only when delete context
Diffstat (limited to 'rotord/rotor.h')
| -rwxr-xr-x | rotord/rotor.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/rotord/rotor.h b/rotord/rotor.h index 7ebde45..a0a310f 100755 --- a/rotord/rotor.h +++ b/rotord/rotor.h @@ -685,9 +685,8 @@ namespace Rotor { Video_output(){}; Video_output(map<string,string> &settings) { base_settings(settings); - exporter=new libav::exporter(); }; - ~Video_output(){ delete exporter; }; + ~Video_output(){ }; Image *output(const Frame_spec &frame){ if (image_inputs[0]->connection) { return ((Image_node*)(image_inputs[0]->connection))->get_output(frame); @@ -698,10 +697,7 @@ namespace Rotor { bool render(const float duration, const float framerate,const string &output_filename,const string &audio_filename,float& progress); private: - //ofxMovieExporter *exporter; - libav::exporter *exporter; - libav::audioloader audioloader; - //libav::encoder encoder; + }; class Video_loader: public Image_node { public: @@ -1162,6 +1158,7 @@ namespace Rotor { void cancel(); //interrupt locking process int make_preview(int nodeID, float time); //starts a frame preview - returns status code - how to retrieve? bool load_audio(const string &filename,vector<Base_audio_processor*> processors); + bool _load_audio(const string &filename,vector<Base_audio_processor*> processors); Render_requirements get_requirements(); bool load_video(const string &nodeID,const string &filename);//can be performance or clip private: @@ -1177,13 +1174,11 @@ namespace Rotor { std::string output_dir; Audio_thumbnailer *audio_thumb; - //vampHost::QMAnalyser audio_analyser; Graph graph; Node_factory factory; float output_framerate; bool audio_loaded; - //libav::audioloader audioloader; }; } |
