summaryrefslogtreecommitdiffstats
path: root/vidix/pm3_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/pm3_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/pm3_vid.c')
-rw-r--r--vidix/pm3_vid.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/vidix/pm3_vid.c b/vidix/pm3_vid.c
index 8dbf0cd2b2..d9b463e040 100644
--- a/vidix/pm3_vid.c
+++ b/vidix/pm3_vid.c
@@ -164,11 +164,7 @@ static int pm3_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;
}