mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
temp. workaround for VFW upside-down flip
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4626 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0d18dddced
commit
224af07cfd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user