Mercurial > mplayer.hg
diff vidix/radeon_vid.c @ 23060:91ad6d4d6a54
simplified depth definition
author | ben |
---|---|
date | Sun, 22 Apr 2007 15:44:42 +0000 |
parents | 7973a6935234 |
children | bce25afc83be |
line wrap: on
line diff
--- a/vidix/radeon_vid.c Sun Apr 22 15:41:17 2007 +0000 +++ b/vidix/radeon_vid.c Sun Apr 22 15:44:42 2007 +0000 @@ -1474,11 +1474,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 | VID_CAP_BLEND; return 0;