Mercurial > mplayer.hg
comparison libmpcodecs/ve_qtvideo.c @ 12061:656a1b45b309
Use aspect from encoder for AVI vprp header
author | ranma |
---|---|
date | Wed, 24 Mar 2004 15:16:36 +0000 |
parents | 97b30b4b722f |
children | 96b366ed15ad |
comparison
equal
deleted
inserted
replaced
12060:b245a429c896 | 12061:656a1b45b309 |
---|---|
127 OSErr cres; | 127 OSErr cres; |
128 ComponentDescription cdesc; | 128 ComponentDescription cdesc; |
129 mux_v->bih->biWidth=width; | 129 mux_v->bih->biWidth=width; |
130 mux_v->bih->biHeight=height; | 130 mux_v->bih->biHeight=height; |
131 mux_v->bih->biSizeImage=width*height*2; | 131 mux_v->bih->biSizeImage=width*height*2; |
132 mux_v->aspect = (float)d_width/d_height; | |
132 | 133 |
133 | 134 |
134 | 135 |
135 memset(&desc,0,sizeof(cdesc)); | 136 memset(&desc,0,sizeof(cdesc)); |
136 cdesc.componentType= (((unsigned char)'i')<<24)| | 137 cdesc.componentType= (((unsigned char)'i')<<24)| |