[MPlayer-cvslog] r23067 - trunk/vidix

ben subversion at mplayerhq.hu
Sun Apr 22 17:24:25 CEST 2007


Author: ben
Date: Sun Apr 22 17:24:25 2007
New Revision: 23067

Log:
simplified depth definition

Modified:
   trunk/vidix/cyberblade_vid.c

Modified: trunk/vidix/cyberblade_vid.c
==============================================================================
--- trunk/vidix/cyberblade_vid.c	(original)
+++ trunk/vidix/cyberblade_vid.c	Sun Apr 22 17:24:25 2007
@@ -248,11 +248,7 @@ static int cyberblade_query_fourcc(vidix
 {
 	if(is_supported_fourcc(to->fourcc))
 	{
-		to->depth = VID_DEPTH_1BPP | VID_DEPTH_2BPP |
-			VID_DEPTH_4BPP | VID_DEPTH_8BPP |
-			VID_DEPTH_12BPP| VID_DEPTH_15BPP|
-			VID_DEPTH_16BPP| VID_DEPTH_24BPP|
-			VID_DEPTH_32BPP;
+		to->depth = VID_DEPTH_ALL;
 		to->flags = VID_CAP_EXPAND | VID_CAP_SHRINK | VID_CAP_COLORKEY;
 		return 0;
 	}



More information about the MPlayer-cvslog mailing list