]> git.sesse.net Git - mlt/commitdiff
Make rotoscoping filter metadata valid yaml.
authorDan Dennedy <dan@dennedy.org>
Mon, 30 May 2011 19:14:32 +0000 (12:14 -0700)
committerDan Dennedy <dan@dennedy.org>
Mon, 30 May 2011 19:14:32 +0000 (12:14 -0700)
src/modules/rotoscoping/filter_rotoscoping.yml

index 51bb6948b7202a6d43876196f73f7c8de71a88bf..c49b963373dfd95c6d181964ccfdb96c0308a74c 100644 (file)
@@ -12,7 +12,6 @@ tags:
   - Video
 description: Keyframable vector based rotoscoping
 
-notes: ...
 bugs:
   - in some cases top most row in polygon is assigned to outside
 
@@ -26,26 +25,32 @@ parameters:
     default: alpha
     mutable: yes
     widget: dropdown
-    values: |
-      alpha
-      luma
-      rgb
+    values:
+      alpha
+      luma
+      rgb
 
   - identifier: alpha_operation
     title: Alpha Operation 
     type: string
-    description: How to proceed with the current alpha mask (only if mode = alpha)
+    description: |
+      How to proceed with the current alpha mask (only if mode = alpha).
+      clear = existing alpha mask is overwritten
+      max = maximum: existing alpha mask, mask generated by this filter
+      min = minimum: existing alpha mask, mask generated by this filter
+      add = existing alpha mask + generated mask
+      sub = existing alpha mask - generated mask
     readonly: no
     required: no
     default: clear
     mutable: yes
     widget: dropdown
-    values: |
-      clear (existing alpha mask is overwritten)
-      max (maximum: existing alpha mask; mask generated by this filter)
-      min (minimum: existing alpha mask; mask generated by this filter)
-      add (existing alpha mask + generated mask)
-      sub (existing alpha mask - generated mask)
+    values:
+      - clear
+      - max
+      - min
+      - add
+      - sub
 
   - identifier: invert
     title: Invert
@@ -86,7 +91,7 @@ parameters:
   - identifier: spline
     title: Spline
     type: string
-    description: |
+    description: >
       The spline, a list of cubic Bézier curves, is described using JSON.
       The most basic parts are the coordinate tuples: [x, y]; x,y will be mapped from the range 0-1 to the image dimensions.
       Next layer are the Bézier points: [handle 1, point, handle 2] with handle 1, point, handle 2 being coordinate tuples