Mercurial > mplayer.hg
diff vidix/pm2_vid.c @ 23060:91ad6d4d6a54
simplified depth definition
author | ben |
---|---|
date | Sun, 22 Apr 2007 15:44:42 +0000 |
parents | 82216ef041e0 |
children | acfe034e5386 |
line wrap: on
line diff
--- a/vidix/pm2_vid.c Sun Apr 22 15:41:17 2007 +0000 +++ b/vidix/pm2_vid.c Sun Apr 22 15:44:42 2007 +0000 @@ -171,11 +171,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; }