[Mplayer-cvslog] CVS: main/libvo vo_jpeg.c,1.9,1.10

Arpi of Ize arpi at mplayerhq.hu
Sun Jan 19 16:25:30 CET 2003


Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv11560

Modified Files:
	vo_jpeg.c 
Log Message:
fixed query_format (RGB24 supports OSD and is preferred)
based on patch by Alvaro Lopes <alvieboy at alvie.com>


Index: vo_jpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_jpeg.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- vo_jpeg.c	24 Nov 2002 21:28:32 -0000	1.9
+++ vo_jpeg.c	19 Jan 2003 15:25:03 -0000	1.10
@@ -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;
 }



More information about the MPlayer-cvslog mailing list