filter_avdeinterlace.c: bugfix (kdenlive-672) deinterlace only works on left half...
authorddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 10 Feb 2009 07:03:51 +0000 (07:03 +0000)
committerddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 10 Feb 2009 07:03:51 +0000 (07:03 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1348 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/avformat/filter_avdeinterlace.c

index 6c2a6ff..8dd5636 100644 (file)
@@ -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);
       }
        }