# HG changeset patch # User ben # Date 1177255465 0 # Node ID deefad53512aa03cb9b37bb1a001327e110e75e9 # Parent 7973a6935234cd6f590598dd1c0ec15db0199ad9 simplified depth definition diff -r 7973a6935234 -r deefad53512a vidix/cyberblade_vid.c --- a/vidix/cyberblade_vid.c Sun Apr 22 15:18:48 2007 +0000 +++ b/vidix/cyberblade_vid.c Sun Apr 22 15:24:25 2007 +0000 @@ -248,11 +248,7 @@ { 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; }