greyscale fixed

git-svn-id: svn://code.dyne.org/veejay/trunk@832 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
Niels Elburg
2007-03-10 20:59:59 +00:00
parent 68744b133a
commit f14b77ea95
3 changed files with 35 additions and 13 deletions

View File

@@ -410,7 +410,7 @@ void vj_fastbw_picture_save_to_mem( VJFrame *frame, int out_w, int out_h, int f
planes[2] = planes[1] + (out_w * out_h );
VJFrame *dst1 = yuv_yuv_template( planes[0], planes[1], planes[2],
out_w , out_h, pixfmt );
out_w , out_h, PIX_FMT_GRAY8 );
if( frame->width == out_w && frame->height == out_h )
yuv_convert_any_ac( src1,dst1,src1->format, dst1->format );