[Mplayer-cvslog] CVS: main mencoder.c,1.84,1.85
Arpi of Ize
arpi at mplayer.dev.hu
Sun Feb 10 01:55:14 CET 2002
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv4415
Modified Files:
mencoder.c
Log Message:
temp. workaround for VFW upside-down flip
Index: mencoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/mencoder.c,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- mencoder.c 10 Feb 2002 00:07:34 -0000 1.84
+++ mencoder.c 10 Feb 2002 00:55:10 -0000 1.85
@@ -1459,6 +1459,7 @@
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);
More information about the MPlayer-cvslog
mailing list