filter_vignette.{c,yml}: better standard values and correct start param name
authorblendamedt <blendamedt@d19143bc-622f-0410-bfdd-b5b2a6649095>
Thu, 13 Nov 2008 21:39:18 +0000 (21:39 +0000)
committerblendamedt <blendamedt@d19143bc-622f-0410-bfdd-b5b2a6649095>
Thu, 13 Nov 2008 21:39:18 +0000 (21:39 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1235 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/oldfilm/filter_vignette.c
src/modules/oldfilm/filter_vignette.yml

index 5da0811..e9e3f5d 100644 (file)
@@ -117,7 +117,7 @@ mlt_filter filter_vignette_init( mlt_profile profile, mlt_service_type type, con
                */
                
                this->process = filter_process;
-               mlt_properties_set( MLT_FILTER_PROPERTIES( this ), "start", "80:50,50x50,0" );
+               mlt_properties_set( MLT_FILTER_PROPERTIES( this ), "geometry", "80:50%:50%:50%:0" );
                //mlt_properties_set( MLT_FILTER_PROPERTIES( this ), "end", "" );
 
        }
index deb7454..a63bd47 100644 (file)
@@ -22,14 +22,14 @@ bugs: # this can be just for documentation, or the tool may disclose it to help
   - need to do some speed improvement.
 
 parameters:
-  - identifier: Smooth;Radius;X;Y;Max Opacity # 'argument' is a reserved name for a value supplied to the factory
-    title: Start value  # the title can be used as a label for the widget
+  - identifier: geometry # 'argument' is a reserved name for a value supplied to the factory
+    title: Geometry Value  # the title can be used as a label for the widget
     type: geometry
     description: Start position, "smooth":"radius","X"x"Y","maxopac"
     readonly: no
     required: yes
     mutable: no
     format: %d:%d:%dx%d:%d
-    minimum: 0;0;0;0;0
-    maximum: 100;100;100;100;100
-    default: 80;50;50%;50%;0
+    minimum: 0:0:0:0:0
+    maximum: 100:100:100:100:100
+    default: 80:50%:50%:50%:0