summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-22 13:27:05 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-22 13:27:05 +0000
commit71a7257eb4cea7ea98dc2d3052d3e8deea702bc0 (patch)
treeff92b76664ce5619af0350aa408243899c6402f0 /libvo
parent2499234aaf89fde3266d68ba9a9c0a18c8b65e29 (diff)
downloadmpv-71a7257eb4cea7ea98dc2d3052d3e8deea702bc0.tar.bz2
mpv-71a7257eb4cea7ea98dc2d3052d3e8deea702bc0.tar.xz
10l by Matan
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8521 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_svga.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libvo/vo_svga.c b/libvo/vo_svga.c
index bf56591734..0cb5e901b2 100644
--- a/libvo/vo_svga.c
+++ b/libvo/vo_svga.c
@@ -505,11 +505,15 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,
return (1);
}
}
-
+
+#ifdef CONFIG_VIDIX
if(!vidix_name[0]){
+#endif
maxw = width; /* No scaling */
maxh = height;
+#ifdef CONFIG_VIDIX
}
+#endif
if (pformat == IMGFMT_YV12) {
yuv2rgb_init(bpp, MODE_RGB);
}