summaryrefslogtreecommitdiff
path: root/rotord/src
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src')
-rw-r--r--rotord/src/graph.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/rotord/src/graph.cpp b/rotord/src/graph.cpp
index 77912e6..771a807 100644
--- a/rotord/src/graph.cpp
+++ b/rotord/src/graph.cpp
@@ -80,7 +80,7 @@ bool Graph::preview(xmlIO &XML,string &node,string &_format,int frame,int w,int
}
bool Graph::video_render(const string &output_filename,const float framerate,int start, int stop) {
-
+ if (output_filename.size()==0) return false;
//https://www.adobe.com/devnet/video/articles/mp4_movie_atom.html
//https://www.google.ie/search?q=ffmbc&aq=f&oq=ffmbc&aqs=chrome.0.57j0l2j60j0j60.4360j0&sourceid=chrome&ie=UTF-8#q=ffmbc+git
@@ -539,6 +539,7 @@ bool Graph::parseXml(string media_path){
return true;
}
bool Graph::load_audio(const string &filename,vector<Audio_processor*> processors){
+ if (filename.size()==0) return false;
Logger& logger = Logger::get("Rotor");
logger.information("Analysing "+filename);