From 1debabf17aff58fab073347ac6d80c0259d0562d Mon Sep 17 00:00:00 2001 From: ddennedy Date: Tue, 10 Feb 2009 07:03:51 +0000 Subject: [PATCH] filter_avdeinterlace.c: bugfix (kdenlive-672) deinterlace only works on left half of image git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1348 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/modules/avformat/filter_avdeinterlace.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/avformat/filter_avdeinterlace.c b/src/modules/avformat/filter_avdeinterlace.c index 6c2a6ff..8dd5636 100644 --- a/src/modules/avformat/filter_avdeinterlace.c +++ b/src/modules/avformat/filter_avdeinterlace.c @@ -276,11 +276,11 @@ static int mlt_avpicture_deinterlace(AVPicture *dst, const AVPicture *src, else { if (src == dst) { deinterlace_bottom_field_inplace(dst->data[0], dst->linesize[0], - width, height); + width<<1, height); } else { deinterlace_bottom_field(dst->data[0],dst->linesize[0], src->data[0], src->linesize[0], - width, height); + width<<1, height); } } -- 1.7.4.4