X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fgtk2%2Fproducer_pixbuf.c;h=4e27d658f047e4d91d3430d7fefd119a9bb16bae;hb=cc529cc40228368ad022902a9c8b550e425a6150;hp=c02a7ead8cba35223cd9d061545d2b6c61ccaddf;hpb=0e9101ed4529daaedf0388c91ff7b6b9462c3ee1;p=melted diff --git a/src/modules/gtk2/producer_pixbuf.c b/src/modules/gtk2/producer_pixbuf.c index c02a7ea..4e27d65 100644 --- a/src/modules/gtk2/producer_pixbuf.c +++ b/src/modules/gtk2/producer_pixbuf.c @@ -108,6 +108,7 @@ static void refresh_image( mlt_frame frame, int width, int height ) // Get the original position of this frame mlt_position position = mlt_properties_get_position( properties, "pixbuf_position" ); + position += mlt_producer_get_in( producer ); // Image index int image_idx = ( int )floor( ( double )position / ttl ) % this->count;