Mercurial > mplayer.hg
changeset 76:d95acdc18f38
updated to be compatible with new mga_vid.o
author | arpi_esp |
---|---|
date | Sun, 11 Mar 2001 00:01:03 +0000 |
parents | e1cd3bdbea86 |
children | 9bbba5880f70 |
files | drivers/mga_vid_test.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/drivers/mga_vid_test.c Sat Mar 10 23:53:27 2001 +0000 +++ b/drivers/mga_vid_test.c Sun Mar 11 00:01:03 2001 +0000 @@ -164,6 +164,7 @@ exit(1); } + config.version = MGA_VID_VERSION; config.src_width = SRC_IMAGE_WIDTH; config.src_height= SRC_IMAGE_HEIGHT; config.dest_width = SRC_IMAGE_WIDTH; @@ -172,6 +173,8 @@ config.y_org= 10; config.colkey_on = 0; config.format = MGA_VID_FORMAT_YV12; + config.frame_size=SRC_IMAGE_WIDTH*SRC_IMAGE_HEIGHT*2; + config.num_frames=1; if (ioctl(f,MGA_VID_CONFIG,&config)) {