From 224af07cfd59c3fefef830f35a45fb8275621158 Mon Sep 17 00:00:00 2001 From: arpi Date: Sun, 10 Feb 2002 00:55:10 +0000 Subject: temp. workaround for VFW upside-down flip git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4626 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mencoder.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mencoder.c') diff --git a/mencoder.c b/mencoder.c index dd7bf92bcc..2e1d771c72 100644 --- a/mencoder.c +++ b/mencoder.c @@ -1459,6 +1459,7 @@ case VCODEC_VFW: { aviwrite_write_chunk(muxer,mux_v,muxer_f,0,0); break; } + flip_upside_down(vo_image_ptr,vo_image_ptr,3*vo_w,vo_h); // dirty hack ret=vfw_encode_frame(mux_v->bih, mux_v->buffer, vfw_bih, vo_image_ptr, &flags, 10000); // printf("vfw_encode_frame -> %d (size=%d,flag=%X)\n",ret,mux_v->bih->biSizeImage,flags); aviwrite_write_chunk(muxer,mux_v,muxer_f,mux_v->bih->biSizeImage,flags); -- cgit v1.2.3