[MPlayer-cvslog] r22976 - trunk/libmpcodecs/ve_raw.c
lorenm
subversion at mplayerhq.hu
Wed Apr 11 22:28:44 CEST 2007
Author: lorenm
Date: Wed Apr 11 22:28:44 2007
New Revision: 22976
Modified:
trunk/libmpcodecs/ve_raw.c
Log:
support format=y8 with -ovc raw
Modified: trunk/libmpcodecs/ve_raw.c
==============================================================================
--- trunk/libmpcodecs/ve_raw.c (original)
+++ trunk/libmpcodecs/ve_raw.c Wed Apr 11 22:28:44 2007
@@ -69,6 +69,9 @@ static int set_format(struct vf_instance
case IMGFMT_YUY2:
mux_v->bih->biBitCount = 16;
break;
+ case IMGFMT_Y8:
+ mux_v->bih->biBitCount = 8;
+ break;
default:
mp_msg(MSGT_MENCODER, MSGL_INFO, MSGTR_MPCODECS_OutputWithFourccNotSupported, fmt);
mux_v->bih->biCompression = 0;
@@ -111,6 +114,7 @@ static int query_format(struct vf_instan
case IMGFMT_YUY2:
case IMGFMT_YVU9:
case IMGFMT_IF09:
+ case IMGFMT_Y8:
return VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW;
}
More information about the MPlayer-cvslog
mailing list