summaryrefslogtreecommitdiff
path: root/rotord/src/graph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src/graph.cpp')
-rw-r--r--rotord/src/graph.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/rotord/src/graph.cpp b/rotord/src/graph.cpp
index 162232f..e67d6f3 100644
--- a/rotord/src/graph.cpp
+++ b/rotord/src/graph.cpp
@@ -33,6 +33,10 @@ bool Graph::signal_render(string &signal_xml,const float framerate) {
return false;
}
*/
+bool Graph::preview(xmlIO &XML,int w,int h){
+ return true;
+}
+
bool Graph::video_render(const string &output_filename,const string &audio_filename,const float framerate,float& progress) {
vector<Node*> loaders=find_nodes("video_loader");
for (auto i:loaders){
@@ -89,7 +93,7 @@ bool Graph::loadFile(string &filename,string media_path){
}
bool Graph::parseJson(string &data,string &media_path){
//cerr<<data<<endl;
- cerr<<"Trying to load JSON"<<endl;
+ //cerr<<"Trying to load JSON"<<endl;
Json::Value root; // will contains the root value after parsing.
Json::Reader reader;
bool parsingSuccessful = reader.parse( data, root );