diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-09-11 16:11:47 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-09-11 16:11:47 +0100 |
| commit | f9694b7d4f1648a0fa984e7cc428bbc9eea86ca0 (patch) | |
| tree | 59e14e57c52e82927963ef71bf83de0f665c42cb /rotord/src/graph.cpp | |
| parent | 1f52520db005e056e131f511418e4b71bc9e89fd (diff) | |
ffms2 library for video loader
Diffstat (limited to 'rotord/src/graph.cpp')
| -rw-r--r-- | rotord/src/graph.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rotord/src/graph.cpp b/rotord/src/graph.cpp index 2e89a4c..5487717 100644 --- a/rotord/src/graph.cpp +++ b/rotord/src/graph.cpp @@ -279,6 +279,7 @@ bool Graph::parseJson(string &data,string &media_path){ } //we know the json validates so clear the existing graph clear(); + Node_factory factory; check_audio(root["audio"].asString(),media_path); init(root["ID"].asString(),root["description"].asString()); Json::Value jnodes = root["nodeDefinitions"]; @@ -394,6 +395,7 @@ bool Graph::parseJson(string &data,string &media_path){ } bool Graph::parseXml(string media_path){ clear(); + Node_factory factory; check_audio(xml.getAttribute("patchbay","audio","",0),media_path); init(xml.getAttribute("patchbay","ID","",0),xml.getValue("patchbay","",0)); if(xml.pushTag("patchbay")) { |
