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_nuv.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_nuv.c')
-rw-r--r-- | libmpcodecs/ve_nuv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpcodecs/ve_nuv.c b/libmpcodecs/ve_nuv.c index 1cff9e28a2..50a75666e5 100644 --- a/libmpcodecs/ve_nuv.c +++ b/libmpcodecs/ve_nuv.c @@ -80,6 +80,7 @@ static int config(struct vf_instance_s* vf, mux_v->bih->biWidth=width; mux_v->bih->biHeight=height; mux_v->bih->biSizeImage=mux_v->bih->biWidth*mux_v->bih->biHeight*(mux_v->bih->biBitCount/8); + mux_v->aspect = (float)d_width/d_height; vf->priv->buffer = realloc(vf->priv->buffer,vf->priv->buf_size); vf->priv->tbl_wrote = 0; |