diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-09-19 16:25:02 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-09-19 16:25:02 +0100 |
| commit | da3e14a2d734fbc33a37419bf93602a91aea0611 (patch) | |
| tree | 9e8cdce7dfdb70e39f403379c2dc36886d659258 /rotord | |
| parent | 316bf75067db4eb74540b90a7c3d7b90a8642d28 (diff) | |
working on fast start
Diffstat (limited to 'rotord')
| -rw-r--r-- | rotord/src/libavwrapper.cpp | 3 | ||||
| -rw-r--r-- | rotord/src/nodes_drawing.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/rotord/src/libavwrapper.cpp b/rotord/src/libavwrapper.cpp index ca14736..6b07b62 100644 --- a/rotord/src/libavwrapper.cpp +++ b/rotord/src/libavwrapper.cpp @@ -210,7 +210,8 @@ bool libav::exporter::record(std::string filename){ AVDictionary *opts = NULL; // "create" an empty dictionary - av_dict_set(&opts, "movflags", "empty_moov", 0); + //THIS DOES SEEM TO SET CONTAINER OPTS= AS MOOV_SIZE MAKES THE MOVIE BANJAXED + //av_dict_set(&opts, "moov_size", "20000", 0); // Write the stream header, if any. // diff --git a/rotord/src/nodes_drawing.h b/rotord/src/nodes_drawing.h index 34a2679..2e76441 100644 --- a/rotord/src/nodes_drawing.h +++ b/rotord/src/nodes_drawing.h @@ -9,7 +9,6 @@ namespace Rotor { public: Draw_node(){ create_image_input("image input","Image input"); - create_attribute("colour","Colour to fill","Colour","FFFFFF"); //no title or description as it isn't intended for the user }; Draw_node(map<string,string> &settings):Draw_node() { @@ -51,6 +50,7 @@ namespace Rotor { title="Text"; description="Draws text"; create_attribute("text","Text to draw","Text","hello, world!"); + create_attribute("colour","Colour to fill","Colour","FFFFFF"); create_parameter("number","number","Number to draw","Number",-99999999.0f); }; Text(map<string,string> &settings):Text() { @@ -90,6 +90,7 @@ namespace Rotor { create_parameter("scale","number","Scale","Scale",1.0f); create_parameter("rotation","number","Rotation","Rotation",0.0f); create_attribute("shape","Shape to draw","Shape","square",{"circle","square","triangle"}); + create_attribute("colour","Colour to fill","Colour","FFFFFF"); }; Shape(map<string,string> &settings):Shape() { base_settings(settings); |
