diff options
| author | Comment <tim@gray.(none)> | 2013-10-01 02:58:17 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-10-01 02:58:17 +0100 |
| commit | 89077608d6421f2aa57a9e04253c7032ccab6955 (patch) | |
| tree | 94d22ab3c3a55221901e440bf5c99162cc29de6d /rotord | |
| parent | 40d9f87901f28dd6d3520b83c8d07b8825ce6f9f (diff) | |
catch 0 length filenames
Diffstat (limited to 'rotord')
| -rw-r--r-- | rotord/src/graph.cpp | 3 |
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); |
