diff options
Diffstat (limited to 'rotord/src/rotor.h')
| -rw-r--r-- | rotord/src/rotor.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index 50ae266..fcee9d9 100644 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -243,6 +243,9 @@ namespace Rotor { void create_attribute(const string &_attr,const string &_desc,const string &_title,const string &_value,std::vector<std::string> _vals={}) { attributes[_attr]=new Attribute(_desc,_title,_value,_vals); }; + //void create_attribute(const string &_attr,const string &_desc,const string &_title,const string &_value,std::vector<std::string> _vals={}) { + // attributes[_attr]=new Attribute(_desc,_title,_value,_vals); + //}; void create_attribute(string *alias,const string &_attr,const string &_desc,const string &_title,const string &_value,std::vector<std::string> _vals={}) { create_attribute(_attr,_desc,_title,_value,_vals); alias=&(attributes[_attr]->value); @@ -568,6 +571,17 @@ namespace Rotor { Image in1,in2,in2t,temp; //for blend frames; string *filename; }; + class Video_bank: public Video_loader { + public: + Video_bank(){ + UID="73616e66-4306-11e3-981e-74d02b29f6a6"; + }; + Video_bank(map<string,string> &settings): Video_bank() { + base_settings(settings); + }; + ~Video_bank(){}; + private: + }; class Video_output: public Image_node { //Video_output 'presents' the output movie. Aspect ratio, bars, fadein/fadeout would happen here public: @@ -696,7 +710,9 @@ namespace Rotor { return NULL; }; bool list_node(const string &t,xmlIO XML); + bool list_node(const string &t,Json::Value &JSON); void list_node(Rotor::Node* type,xmlIO XML,int i=0); + Json::Value list_node(Rotor::Node* type); void list_nodes(xmlIO XML); void list_nodes(Json::Value &JSON); void list_categories(xmlIO XML); |
