diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-04-11 02:50:47 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-04-11 02:50:47 +0000 |
commit | 24a580113250d83e4b63408c6e224940cdfa502e (patch) | |
tree | 98049d13a67d2d46c4805ac65de328d7da9a9017 /libmpcodecs/ve_vfw.c | |
parent | 4d865e3f47633c627745c12f0520321b0df2fd74 (diff) | |
download | mpv-24a580113250d83e4b63408c6e224940cdfa502e.tar.bz2 mpv-24a580113250d83e4b63408c6e224940cdfa502e.tar.xz |
soem fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5552 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/ve_vfw.c')
-rw-r--r-- | libmpcodecs/ve_vfw.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libmpcodecs/ve_vfw.c b/libmpcodecs/ve_vfw.c index fecf6754ec..71512ec0eb 100644 --- a/libmpcodecs/ve_vfw.c +++ b/libmpcodecs/ve_vfw.c @@ -37,9 +37,12 @@ static int config(struct vf_instance_s* vf, vfw_bih->biWidth=width; vfw_bih->biHeight=height; vfw_bih->biSizeImage=width*height*((vfw_bih->biBitCount+7)/8); - mux_v->bih->biWidth=width; - mux_v->bih->biHeight=height; - mux_v->bih->biSizeImage=width*height*((mux_v->bih->biBitCount+7)/8); + + if(!vfw_start_encoder(vfw_bih, mux_v->bih)) return 0; + +// mux_v->bih->biWidth=width; +// mux_v->bih->biHeight=height; +// mux_v->bih->biSizeImage=width*height*((mux_v->bih->biBitCount+7)/8); return 1; } |