]> git.sesse.net Git - mlt/blobdiff - src/framework/mlt_frame.c
rc/framework/mlt_frame.c
[mlt] / src / framework / mlt_frame.c
index dcd5ec7557960b8aebb51597a0929f9cd50176b7..0f54d4dfbae552235175f04059cc62f20c95166e 100644 (file)
@@ -267,6 +267,7 @@ int mlt_frame_get_image( mlt_frame this, uint8_t **buffer, mlt_image_format *for
        
        if ( get_image != NULL )
        {
+               mlt_properties_set_int( properties, "image_count", mlt_properties_get_int( properties, "image_count" ) - 1 );
                mlt_position position = mlt_frame_get_position( this );
                error = get_image( this, buffer, format, width, height, writable );
                mlt_frame_set_position( this, position );