From fea5bf3ffeac6f7a4c5cccb69c5ce51e4a42dbaf Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sat, 7 Sep 2013 14:25:41 +0100 Subject: render cancelling --- rotord/src/rotor.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'rotord/src/rotor.h') diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index 6c030ec..dea3fa0 100755 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -893,7 +893,7 @@ namespace Rotor { Video_output(){ create_image_input("image to output","Image input"); title="Video output"; - description="Outputs to video from here"; + description="Output to video"; }; Video_output(map &settings):Video_output() { base_settings(settings); @@ -910,8 +910,7 @@ namespace Rotor { return nullptr; }; Video_output* clone(map &_settings) { return new Video_output(_settings);}; - bool render(const float duration, const float framerate,const string &output_filename,const string &audio_filename,float& progress,int w,int h); - + private: }; @@ -1124,6 +1123,7 @@ namespace Rotor { description=_desc; duration=20.0f; framerate=25.0f; + cancelled=false; }; string uid; //every version of a graph has a UUID, no particular need to actually read its data(?) //?? is it faster than using strings?? @@ -1148,6 +1148,7 @@ namespace Rotor { xmlIO xml; bool audio_loaded; string audio_filename; + bool cancelled; private: Node_factory factory; int outW,outH; -- cgit v1.2.3