summaryrefslogtreecommitdiffstats
path: root/vidix/mach64_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/mach64_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/mach64_vid.c')
-rw-r--r--vidix/mach64_vid.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/vidix/mach64_vid.c b/vidix/mach64_vid.c
index 649c1e89fe..93f85b83f4 100644
--- a/vidix/mach64_vid.c
+++ b/vidix/mach64_vid.c
@@ -881,11 +881,7 @@ static int mach64_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;
}