mirror of https://github.com/mpv-player/mpv
updated to be compatible with new mga_vid.o
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@77 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2af01d4839
commit
8a24fa541a
|
@ -164,6 +164,7 @@ main(int argc, char *argv[])
|
|||
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 @@ main(int argc, char *argv[])
|
|||
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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue