Mercurial > mplayer.hg
comparison libvo/vo_jpeg.c @ 9019:555d64fc02b8
fixed query_format (RGB24 supports OSD and is preferred)
based on patch by Alvaro Lopes <alvieboy@alvie.com>
author | arpi |
---|---|
date | Sun, 19 Jan 2003 15:25:03 +0000 |
parents | 1ac2523775ad |
children | 98791b90215a |
comparison
equal
deleted
inserted
replaced
9018:6ed96671b2d3 | 9019:555d64fc02b8 |
---|---|
206 switch( format ) | 206 switch( format ) |
207 { | 207 { |
208 case IMGFMT_IYUV: | 208 case IMGFMT_IYUV: |
209 case IMGFMT_I420: | 209 case IMGFMT_I420: |
210 case IMGFMT_YV12: | 210 case IMGFMT_YV12: |
211 case IMGFMT_RGB|24: | |
212 case IMGFMT_BGR|24: | 211 case IMGFMT_BGR|24: |
213 case IMGFMT_BGR|32: | 212 case IMGFMT_BGR|32: |
214 return 1; | 213 return VFCAP_CSP_SUPPORTED; |
214 case IMGFMT_RGB|24: | |
215 return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_OSD; | |
215 } | 216 } |
216 return 0; | 217 return 0; |
217 } | 218 } |
218 | 219 |
219 static void uninit(void) | 220 static void uninit(void) |