X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fcore%2Ffilter_watermark.c;h=fec4d53739888b133e6b3e61dbab0c87cc89b21f;hb=d1c633c50972e892605cb2015bd8ab9a3dc4508c;hp=1e5d6843522d752acfd05b22d65d6418f34ef53e;hpb=02e99cb00ed4a03a8f98c7f570cc9526478bfdc1;p=melted diff --git a/src/modules/core/filter_watermark.c b/src/modules/core/filter_watermark.c index 1e5d684..fec4d53 100644 --- a/src/modules/core/filter_watermark.c +++ b/src/modules/core/filter_watermark.c @@ -115,6 +115,9 @@ static int filter_get_image( mlt_frame frame, uint8_t **image, mlt_image_format // Make sure the producer is in the correct position mlt_producer_seek( producer, position ); + // Resetting position to appease the composite transition + mlt_frame_set_position( frame, position ); + // Get the b frame and process with composite if successful if ( mlt_service_get_frame( service, &b_frame, 0 ) == 0 ) mlt_transition_process( composite, frame, b_frame );