# HG changeset patch # User arpi # Date 1042989903 0 # Node ID 555d64fc02b8fda2957591969037d4e5c20795f8 # Parent 6ed96671b2d334e489a9f933aba38937fc1e9fc9 fixed query_format (RGB24 supports OSD and is preferred) based on patch by Alvaro Lopes diff -r 6ed96671b2d3 -r 555d64fc02b8 libvo/vo_jpeg.c --- a/libvo/vo_jpeg.c Sun Jan 19 14:48:19 2003 +0000 +++ b/libvo/vo_jpeg.c Sun Jan 19 15:25:03 2003 +0000 @@ -208,10 +208,11 @@ case IMGFMT_IYUV: case IMGFMT_I420: case IMGFMT_YV12: - case IMGFMT_RGB|24: case IMGFMT_BGR|24: case IMGFMT_BGR|32: - return 1; + return VFCAP_CSP_SUPPORTED; + case IMGFMT_RGB|24: + return VFCAP_CSP_SUPPORTED|VFCAP_CSP_SUPPORTED_BY_HW|VFCAP_OSD; } return 0; }