summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-10 12:20:50 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-10 12:20:50 +0000
commitc7fb41804cdb5b230577deb37d5998019adb4123 (patch)
tree59d6931238bdeefbb09960ff0dac1d9ff020c6b7 /mencoder.c
parentb1f826975519237e0ddbd2457218ada319bc1c0f (diff)
downloadmpv-c7fb41804cdb5b230577deb37d5998019adb4123.tar.bz2
mpv-c7fb41804cdb5b230577deb37d5998019adb4123.tar.xz
div3/vfw encoding fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4639 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mencoder.c b/mencoder.c
index 2e1d771c72..a46caa274b 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -761,12 +761,12 @@ case VCODEC_VFW:
vfw_bih->biSize=sizeof(BITMAPINFOHEADER);
vfw_bih->biWidth=vo_w;
vfw_bih->biHeight=vo_h;
- vfw_bih->biPlanes=0;
+ vfw_bih->biPlanes=1;
vfw_bih->biBitCount=24;
vfw_bih->biCompression=0;
vfw_bih->biSizeImage=vo_w*vo_h*((vfw_bih->biBitCount+7)/8);
-// mux_v->bih=vfw_open_encoder("divxc32.dll",vfw_bih);
- mux_v->bih=vfw_open_encoder("AvidAVICodec.dll",vfw_bih);
+// mux_v->bih=vfw_open_encoder("divxc32.dll",vfw_bih,mmioFOURCC('D', 'I', 'V', '3'));
+ mux_v->bih=vfw_open_encoder("AvidAVICodec.dll",vfw_bih, 0);
break;
#else
printf("No support for Win32/VfW codecs compiled in\n");