From: ddennedy Date: Tue, 10 Feb 2009 07:03:51 +0000 (+0000) Subject: filter_avdeinterlace.c: bugfix (kdenlive-672) deinterlace only works on left half... X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=1debabf17aff58fab073347ac6d80c0259d0562d;p=melted 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 --- 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); } }