diff options
Diffstat (limited to 'rotord/src/rotor.h')
| -rwxr-xr-x | rotord/src/rotor.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index e96fffd..a769430 100755 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -14,6 +14,7 @@ #include "Poco/Net/HTTPResponse.h" #include "Poco/Logger.h" +#include "Poco/File.h" #include "Poco/Path.h" #include "Poco/Base64Encoder.h" #include "Poco/FileStream.h" @@ -1107,6 +1108,7 @@ namespace Rotor { Graph(){duration=20.0f;loaded = false;outW=640;outH=360;}; Graph(const string& _uid,const string& _desc){ init(_uid,_desc); + audio_loaded=false; }; void init(const string& _uid,const string& _desc){ uid=_uid; @@ -1121,22 +1123,26 @@ namespace Rotor { vector<Node*> find_nodes(const string &type); //could be a way of finding a set based on capabilities? Node* find_node(const string &type); bool signal_render(string &signal_xml,const float framerate); - bool video_render(const string &output_filename,const string &audio_filename,const float framerate,float& progress); + bool video_render(const string &output_filename,const float framerate,float& progress); bool load(string data,string media_path); bool loadFile(string &filename,string media_path); bool parseXml(string media_path); bool parseJson(string &data,string &media_path); bool set_resolution(int w,int h); bool preview(xmlIO &XML,string &node,string &format,int frame,int w,int h); + bool check_audio(string audio,string path); bool print_features(xmlIO &XML,string &node); bool loaded; float duration; float framerate; const string toString(); xmlIO xml; + bool audio_loaded; + string audio_filename; private: Node_factory factory; int outW,outH; + }; class Audio_thumbnailer: public Audio_processor { public: |
