diff 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
line wrap: on
line diff
--- 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;
 }