summaryrefslogtreecommitdiffstats
path: root/libvo/mga_common.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-17 09:49:25 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-17 09:49:25 +0000
commit7eadbc8831d075a383e82c0fda3ea68a3d219385 (patch)
tree0f1d7f126ba4960830d30f3e1afc149a95f43dd1 /libvo/mga_common.c
parent60c8189dd92322e2426c19795e82724f0b996e2a (diff)
downloadmpv-7eadbc8831d075a383e82c0fda3ea68a3d219385.tar.bz2
mpv-7eadbc8831d075a383e82c0fda3ea68a3d219385.tar.xz
-fixed-vo support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7778 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/mga_common.c')
-rw-r--r--libvo/mga_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/mga_common.c b/libvo/mga_common.c
index cf2d8c19b9..959f6f5781 100644
--- a/libvo/mga_common.c
+++ b/libvo/mga_common.c
@@ -380,7 +380,9 @@ static int mga_init(int width,int height,unsigned int format){
//clear the buffer
memset(frames[0],0x80,mga_vid_config.frame_size*mga_vid_config.num_frames);
+#ifndef VO_XMGA
ioctl(f,MGA_VID_ON,0);
+#endif
return 0;
}