[MPlayer-matrox] r254 - mga_vid/trunk/mga_vid.c

attila subversion at mplayerhq.hu
Sun Mar 18 15:20:12 CET 2007


Author: attila
Date: Sun Mar 18 15:20:12 2007
New Revision: 254

Modified:
   mga_vid/trunk/mga_vid.c

Log:
make mga_vid accept larger frame sizes


Modified: mga_vid/trunk/mga_vid.c
==============================================================================
--- mga_vid/trunk/mga_vid.c	(original)
+++ mga_vid/trunk/mga_vid.c	Sun Mar 18 15:20:12 2007
@@ -719,7 +719,7 @@ static int mga_vid_ioctl(struct inode *i
 				return(-EFAULT);
 			}
 
-			if(card->config.frame_size==0 || card->config.frame_size>1024*768*2){
+			if(card->config.frame_size==0 || card->config.frame_size>1920*1080*2){
 				printk(KERN_ERR "mga_vid: illegal frame_size: %d\n",card->config.frame_size);
 				return(-EFAULT);
 			}



More information about the MPlayer-matrox mailing list