Mercurial > mplayer.hg
comparison vidix/savage_vid.c @ 23060:91ad6d4d6a54
simplified depth definition
author | ben |
---|---|
date | Sun, 22 Apr 2007 15:44:42 +0000 |
parents | 5366657d357e |
children | e5bdf17ce399 |
comparison
equal
deleted
inserted
replaced
23059:7d3914646699 | 23060:91ad6d4d6a54 |
---|---|
1064 static int | 1064 static int |
1065 savage_query_fourcc (vidix_fourcc_t * to) | 1065 savage_query_fourcc (vidix_fourcc_t * to) |
1066 { | 1066 { |
1067 if (is_supported_fourcc (to->fourcc)) | 1067 if (is_supported_fourcc (to->fourcc)) |
1068 { | 1068 { |
1069 to->depth = VID_DEPTH_1BPP | VID_DEPTH_2BPP | | 1069 to->depth = VID_DEPTH_ALL; |
1070 VID_DEPTH_4BPP | VID_DEPTH_8BPP | | |
1071 VID_DEPTH_12BPP | VID_DEPTH_15BPP | | |
1072 VID_DEPTH_16BPP | VID_DEPTH_24BPP | VID_DEPTH_32BPP; | |
1073 to->flags = VID_CAP_EXPAND | VID_CAP_SHRINK | VID_CAP_COLORKEY; | 1070 to->flags = VID_CAP_EXPAND | VID_CAP_SHRINK | VID_CAP_COLORKEY; |
1074 return 0; | 1071 return 0; |
1075 } | 1072 } |
1076 else | 1073 else |
1077 to->depth = to->flags = 0; | 1074 to->depth = to->flags = 0; |