From d7268f19b909566e94760bc49b01a5596c0b4ac6 Mon Sep 17 00:00:00 2001 From: Fiona Glaser Date: Sun, 2 May 2010 11:45:15 -0700 Subject: [PATCH] Fix sliced-threads + interlaced Broken in r1546. --- encoder/encoder.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/encoder/encoder.c b/encoder/encoder.c index 87f41446..21f740c8 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 ); -- 2.40.0