changeset 12475:16e673350486

give Y8 and Y800 lower conversion priority to avoid grayscaled video
author reimar
date Fri, 14 May 2004 21:08:53 +0000
parents 66c8f7ed3f55
children 131b6c682863
files libmpcodecs/vf_scale.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_scale.c	Fri May 14 18:48:27 2004 +0000
+++ b/libmpcodecs/vf_scale.c	Fri May 14 21:08:53 2004 +0000
@@ -55,11 +55,9 @@
     IMGFMT_YVU9,
     IMGFMT_IF09,
     IMGFMT_411P,
-    IMGFMT_Y800,
-    IMGFMT_Y8,
     IMGFMT_YUY2,
     IMGFMT_UYVY,
-// RGB:
+// RGB and grayscale (Y8 and Y800):
     IMGFMT_BGR32,
     IMGFMT_RGB32,
     IMGFMT_BGR24,
@@ -68,6 +66,8 @@
     IMGFMT_RGB16,
     IMGFMT_BGR15,
     IMGFMT_RGB15,
+    IMGFMT_Y800,
+    IMGFMT_Y8,
     IMGFMT_BGR8,
     IMGFMT_RGB8,
     IMGFMT_BGR4,