From 9410dbbb99a6736f4bc043b390cddd43fdfd48ea Mon Sep 17 00:00:00 2001 From: ddennedy Date: Wed, 4 Feb 2004 21:16:34 +0000 Subject: [PATCH] interim rescale improvements git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@110 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/modules/gtk2/pixops.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/modules/gtk2/pixops.c b/src/modules/gtk2/pixops.c index f33cdfe..d763e90 100644 --- a/src/modules/gtk2/pixops.c +++ b/src/modules/gtk2/pixops.c @@ -435,7 +435,7 @@ pixops_process ( guchar *dest_buf, x = render_x0 * x_step + scaled_x_offset; x_start = x >> SCALE_SHIFT; - while ( x_start < 0 && outbuf < outbuf_end ) + while ( 0 && x_start < 0 && outbuf < outbuf_end ) { process_pixel ( run_weights + ( ( x >> ( SCALE_SHIFT - SUBSAMPLE_BITS ) ) & SUBSAMPLE_MASK ) * ( filter->x.n * filter->y.n ), filter->x.n, filter->y.n, @@ -448,6 +448,7 @@ pixops_process ( guchar *dest_buf, dest_x++; outbuf += dest_channels; } + run_end_index = 720; new_outbuf = ( *line_func ) ( run_weights, filter->x.n, filter->y.n, outbuf, dest_x, -- 1.7.4.4