summaryrefslogtreecommitdiffstats
path: root/libvo/vo_mga.c
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-15 20:31:58 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-04-15 20:31:58 +0000
commit21f9a7c8571420a820309d6e76bd78dafe652d97 (patch)
tree7b5ac72566b9d4b7bdef58090bb5b440d21089b8 /libvo/vo_mga.c
parent448db7e50bab753155de986e1da55687df39016d (diff)
downloadmpv-21f9a7c8571420a820309d6e76bd78dafe652d97.tar.bz2
mpv-21f9a7c8571420a820309d6e76bd78dafe652d97.tar.xz
qrva eletbe nem kene cvs-t elbaszni inkabb ne nyuljatok hozza baz+
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@449 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_mga.c')
-rw-r--r--libvo/vo_mga.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/vo_mga.c b/libvo/vo_mga.c
index b05d028cc6..00e5b6afed 100644
--- a/libvo/vo_mga.c
+++ b/libvo/vo_mga.c
@@ -70,6 +70,9 @@ init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint3
case IMGFMT_YUY2:
mga_vid_config.frame_size = ((width + 31) & ~31) * height * 2;
mga_vid_config.format=MGA_VID_FORMAT_YUY2; break;
+ case IMGFMT_UYVY:
+ mga_vid_config.frame_size = ((width + 31) & ~31) * height * 2;
+ mga_vid_config.format=MGA_VID_FORMAT_UYVY; break;
default:
fprintf(stderr,"mga: invalid output format %0X\n",format);
return (-1);