]> git.sesse.net Git - mlt/commitdiff
fix background alpha channel of affine filter
authorDan Dennedy <dan@dennedy.org>
Wed, 11 Apr 2012 04:53:06 +0000 (21:53 -0700)
committerDan Dennedy <dan@dennedy.org>
Wed, 11 Apr 2012 04:53:06 +0000 (21:53 -0700)
broke when black producer was changed to opaque like other colors

demo/mlt_ticker
src/modules/plus/filter_affine.c

index 47db797e8ea249dfbc4f92bca13a8a93076136da..14f14cfe24dc8720cb5d9ca04c4fb90247ce0d3a 100644 (file)
@@ -1,7 +1,7 @@
 melt \
 clip1.dv out=299 \
 -track \
-colour:black out=299 \
+colour:0 out=299 \
 -track \
 "+The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog..txt" \
 out=299 \
index d53bdd3cc61cb675039beb8c961681ed8744dca6..f6ecc60d52fa3c1cf3d6caf94915e2b18307288d 100644 (file)
@@ -136,7 +136,7 @@ mlt_filter filter_affine_init( mlt_profile profile, mlt_service_type type, const
        if ( this != NULL )
        {
                this->process = filter_process;
-               mlt_properties_set( MLT_FILTER_PROPERTIES( this ), "background", arg ? arg : "colour:black" );
+               mlt_properties_set( MLT_FILTER_PROPERTIES( this ), "background", arg ? arg : "colour:0" );
        }
        return this;
 }