summaryrefslogtreecommitdiff
path: root/rotord/src/rendercontext.h
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-09-27 19:36:29 -0400
committerComment <tim@gray.(none)>2013-09-27 19:36:29 -0400
commit873f295e28a20e2e774852d8d7010ff5629549b4 (patch)
tree3237d0b7f9852d3ab0f69bdd59aac2848ed1dec1 /rotord/src/rendercontext.h
parentf40d511775eb8dfae9a28870c5e0125b5e55b305 (diff)
fixed crash when no node specified to load video
Diffstat (limited to 'rotord/src/rendercontext.h')
-rw-r--r--rotord/src/rendercontext.h5
1 files changed, 3 insertions, 2 deletions
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;
};
}