summaryrefslogtreecommitdiffstats
path: root/libvo/vo_x11.c
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-06 20:52:14 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-06 20:52:14 +0000
commit7bfa2fa2759932632079f553e0a467c9a14cd506 (patch)
tree1148d80746bdc12d68f4e15b5428bbabb61382b2 /libvo/vo_x11.c
parent403b791ab9f13e85ce9866f86749fc9267a315be (diff)
downloadmpv-7bfa2fa2759932632079f553e0a467c9a14cd506.tar.bz2
mpv-7bfa2fa2759932632079f553e0a467c9a14cd506.tar.xz
swScale internally uses yuv2rgb now if possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4555 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r--libvo/vo_x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index 8a8feb399c..d9c7e963a7 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -501,7 +501,7 @@ if(swsContext){
dst[1]=
dst[2]=NULL;
- swScale(swsContext,src,stride,y,h,dst, dstStride);
+ swsContext->swScale(swsContext,src,stride,y,h,dst, dstStride);
} else {
uint8_t *dst=ImageData + ( image_width * y + x ) * ( bpp/8 );
if(image_format==IMGFMT_YV12)