diff options
Diffstat (limited to 'rotord/rendercontext.cpp')
| -rw-r--r-- | rotord/rendercontext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |
