Mercurial > mplayer.hg
changeset 23049:deefad53512a
simplified depth definition
author | ben |
---|---|
date | Sun, 22 Apr 2007 15:24:25 +0000 |
parents | 7973a6935234 |
children | 49dc254e7cc7 |
files | vidix/cyberblade_vid.c |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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; }