From: blendamedt Date: Thu, 13 Nov 2008 21:39:18 +0000 (+0000) Subject: filter_vignette.{c,yml}: better standard values and correct start param name X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=a91bf759a557ca90e7ab46bac0050cab98c96272;p=melted filter_vignette.{c,yml}: better standard values and correct start param name git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1235 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/src/modules/oldfilm/filter_vignette.c b/src/modules/oldfilm/filter_vignette.c index 5da0811..e9e3f5d 100644 --- a/src/modules/oldfilm/filter_vignette.c +++ b/src/modules/oldfilm/filter_vignette.c @@ -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", "" ); } diff --git a/src/modules/oldfilm/filter_vignette.yml b/src/modules/oldfilm/filter_vignette.yml index deb7454..a63bd47 100644 --- a/src/modules/oldfilm/filter_vignette.yml +++ b/src/modules/oldfilm/filter_vignette.yml @@ -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