From 873f295e28a20e2e774852d8d7010ff5629549b4 Mon Sep 17 00:00:00 2001 From: Comment Date: Fri, 27 Sep 2013 19:36:29 -0400 Subject: fixed crash when no node specified to load video --- rotord/src/rendercontext.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rotord/src/rendercontext.h') diff --git a/rotord/src/rendercontext.h b/rotord/src/rendercontext.h index 8656df4..130c678 100644 --- a/rotord/src/rendercontext.h +++ b/rotord/src/rendercontext.h @@ -61,7 +61,8 @@ namespace Rotor { Render_context(const std::string& name): Task(name) { state=IDLE; output_framerate=25.0f; - + start=0; + stop=999999; xmlIO xml; if(xml.loadFile("settings.xml") ){ graph_dir=xml.getAttribute("Rotor","graph_dir","",0); @@ -108,7 +109,7 @@ namespace Rotor { Audio_thumbnailer *audio_thumb; Graph graph; float output_framerate; - + int start,stop; }; } -- cgit v1.2.3