diff options
author | ranma <ranma@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-03-24 15:16:36 +0000 |
---|---|---|
committer | ranma <ranma@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-03-24 15:16:36 +0000 |
commit | 7068c1b8867834b9917dfd171d599340ff3e38b8 (patch) | |
tree | f12f7bfae637be33c0808e0fc22122faecab22f5 /libmpcodecs/ve_divx4.c | |
parent | 2a3030f5f4f4160f989dcc7d85dc4e33d90ab542 (diff) | |
download | mpv-7068c1b8867834b9917dfd171d599340ff3e38b8.tar.bz2 mpv-7068c1b8867834b9917dfd171d599340ff3e38b8.tar.xz |
Use aspect from encoder for AVI vprp header
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12062 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/ve_divx4.c')
-rw-r--r-- | libmpcodecs/ve_divx4.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpcodecs/ve_divx4.c b/libmpcodecs/ve_divx4.c index 4640b1d672..d0549d02ba 100644 --- a/libmpcodecs/ve_divx4.c +++ b/libmpcodecs/ve_divx4.c @@ -211,6 +211,7 @@ static int config(struct vf_instance_s* vf, mux_v->bih->biWidth=width; mux_v->bih->biHeight=height; mux_v->bih->biSizeImage=width*height*3; + mux_v->aspect = (float)d_width/d_height; if(!divx4_param.bitrate) divx4_param.bitrate=800000; else if(divx4_param.bitrate<=16000) divx4_param.bitrate*=1000; |