mlt_properties_set( watermark_properties, "producer.olcolour", mlt_properties_get( my_properties, "olcolour" ) );
mlt_properties_set( watermark_properties, "producer.pad", mlt_properties_get( my_properties, "pad" ) );
mlt_properties_set( watermark_properties, "producer.outline", mlt_properties_get( my_properties, "outline" ) );
-
- // Process the filter
- mlt_filter_process( watermark, frame );
}
/** Get the image.
// Register the get image method
mlt_frame_push_get_image( frame, filter_get_image );
+ mlt_filter watermark = mlt_properties_get_data( MLT_FILTER_PROPERTIES(filter), "_watermark", NULL );
+ if ( watermark )
+ {
+ mlt_filter_process( watermark, frame );
+ }
+
// Return the frame
return frame;
}