summaryrefslogtreecommitdiffstats
path: root/vidix/pm2_vid.c
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-22 15:44:42 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-22 15:44:42 +0000
commit110c2b9cdc63b26e2c1bfc1d1364dcc0948c846e (patch)
tree38fcb324bde5da033f3df4b08bb8220f980d9bfd /vidix/pm2_vid.c
parent03e61642f92fbf25ca66a3735c3134ae99b48187 (diff)
downloadmpv-110c2b9cdc63b26e2c1bfc1d1364dcc0948c846e.tar.bz2
mpv-110c2b9cdc63b26e2c1bfc1d1364dcc0948c846e.tar.xz
simplified depth definition
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23078 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix/pm2_vid.c')
-rw-r--r--vidix/pm2_vid.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/vidix/pm2_vid.c b/vidix/pm2_vid.c
index dc78c1c29f..262685fe88 100644
--- a/vidix/pm2_vid.c
+++ b/vidix/pm2_vid.c
@@ -171,11 +171,7 @@ static int pm2_query_fourcc(vidix_fourcc_t *to)
{
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;
}