]> git.sesse.net Git - mlt/commitdiff
producer_pixbuf.c: apply the in point to the position in the image sequence
authorddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Sun, 25 May 2008 01:36:08 +0000 (01:36 +0000)
committerddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Sun, 25 May 2008 01:36:08 +0000 (01:36 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1128 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/gtk2/producer_pixbuf.c

index c02a7ead8cba35223cd9d061545d2b6c61ccaddf..4e27d658f047e4d91d3430d7fefd119a9bb16bae 100644 (file)
@@ -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;