# HG changeset patch # User lorenm # Date 1176323324 0 # Node ID 1ea1e076cd4c1cf4deaa270585975ad11acd97a3 # Parent fbcf1dd0e5df621a5e32a7965b74fe2cb2ce7cb9 support format=y8 with -ovc raw diff -r fbcf1dd0e5df -r 1ea1e076cd4c libmpcodecs/ve_raw.c --- a/libmpcodecs/ve_raw.c Wed Apr 11 20:25:12 2007 +0000 +++ b/libmpcodecs/ve_raw.c Wed Apr 11 20:28:44 2007 +0000 @@ -69,6 +69,9 @@ 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 @@ case IMGFMT_YUY2: case IMGFMT_YVU9: case IMGFMT_IF09: + case IMGFMT_Y8: return VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW; }