summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-19 01:53:45 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-19 01:53:45 +0000
commitf8c68da092e55954d206b88603c43381b42c2aa8 (patch)
tree84a55d7ff17444963aff2022aa56b0ac0b84e931
parent76f00f9a17bdb6abc6c5de784141ec787e0ae1eb (diff)
downloadmpv-f8c68da092e55954d206b88603c43381b42c2aa8.tar.bz2
mpv-f8c68da092e55954d206b88603c43381b42c2aa8.tar.xz
horizontal lines bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2272 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--postproc/swscale.c8
-rw-r--r--postproc/swscale_template.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/postproc/swscale.c b/postproc/swscale.c
index 4d92bfda0d..02e9650892 100644
--- a/postproc/swscale.c
+++ b/postproc/swscale.c
@@ -116,13 +116,13 @@ canMMX2BeUsed= (s_xinc <= 0x10000 && (dstw&31)==0) ? 1 : 0;
}
#endif
+ // force calculation of the horizontal interpolation of the first line
+ s_last_ypos=-99;
+ s_last_y1pos=-99;
+
if(y==0){
s_srcypos= s_yinc/2 - 0x8000;
s_ypos=0;
-
- // force calculation of the horizontal interpolation of the first line
- s_last_ypos=-99;
- s_last_y1pos=-99;
#ifdef HAVE_MMX2
// cant downscale !!!
if((old_s_xinc != s_xinc || old_dstw!=dstw) && canMMX2BeUsed)
diff --git a/postproc/swscale_template.c b/postproc/swscale_template.c
index 4d92bfda0d..02e9650892 100644
--- a/postproc/swscale_template.c
+++ b/postproc/swscale_template.c
@@ -116,13 +116,13 @@ canMMX2BeUsed= (s_xinc <= 0x10000 && (dstw&31)==0) ? 1 : 0;
}
#endif
+ // force calculation of the horizontal interpolation of the first line
+ s_last_ypos=-99;
+ s_last_y1pos=-99;
+
if(y==0){
s_srcypos= s_yinc/2 - 0x8000;
s_ypos=0;
-
- // force calculation of the horizontal interpolation of the first line
- s_last_ypos=-99;
- s_last_y1pos=-99;
#ifdef HAVE_MMX2
// cant downscale !!!
if((old_s_xinc != s_xinc || old_dstw!=dstw) && canMMX2BeUsed)