From 06848f0cc48de1d7fa0f06636adeb1d30faf10de Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 15 May 2013 15:54:27 +0100 Subject: all ready for new sins render --- rotord/rendercontext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rotord/rendercontext.cpp') diff --git a/rotord/rendercontext.cpp b/rotord/rendercontext.cpp index fc5936b..624b7c1 100644 --- a/rotord/rendercontext.cpp +++ b/rotord/rendercontext.cpp @@ -451,8 +451,8 @@ bool Render_context::load_video(const string &nodeID,const string &filename){ //this is a good standard example of how to find //a node of a specific type by ID and do something if (graph.nodes.find(nodeID)!=graph.nodes.end()){ - if (graph.nodes[nodeID]->type=="video_input") { - if (((Video_input*)graph.nodes[nodeID])->load(filename)) { + if (graph.nodes[nodeID]->type=="video_loader") { + if (((Video_loader*)graph.nodes[nodeID])->load(filename)) { return true; } } -- cgit v1.2.3