From: Jason Garrett-Glaser Date: Sun, 2 May 2010 18:45:15 +0000 (-0700) Subject: Fix sliced-threads + interlaced X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=44f83cc129480d67c76b1b0e11c97870957ff2c2;p=x264.git Fix sliced-threads + interlaced Broken in r1546. --- diff --git a/encoder/encoder.c b/encoder/encoder.c index e9819b30..7ad4295b 100644 --- a/encoder/encoder.c +++ b/encoder/encoder.c @@ -2103,7 +2103,11 @@ static int x264_threaded_slices_write( x264_t *h ) /* Go back and fix up the hpel on the borders between slices. */ for( int i = 1; i < h->param.i_threads; i++ ) + { x264_fdec_filter_row( h->thread[i], h->thread[i]->i_threadslice_start + 1, 0 ); + if( h->sh.b_mbaff ) + x264_fdec_filter_row( h->thread[i], h->thread[i]->i_threadslice_start + 2, 0 ); + } x264_threads_merge_ratecontrol( h );