summaryrefslogtreecommitdiff
path: root/rotord
diff options
context:
space:
mode:
Diffstat (limited to 'rotord')
-rw-r--r--rotord/src/libavwrapper.cpp3
-rw-r--r--rotord/src/nodes_drawing.h3
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);