# HG changeset patch # User lorenm # Date 1101257660 0 # Node ID b055a075999ad3e3f3b4621760b1e0148c3e691d # Parent 803be9a788540248ab85673b89e9912da3022fc2 set sample aspect ratio diff -r 803be9a78854 -r b055a075999a libmpcodecs/ve_x264.c --- a/libmpcodecs/ve_x264.c Tue Nov 23 21:21:54 2004 +0000 +++ b/libmpcodecs/ve_x264.c Wed Nov 24 00:54:20 2004 +0000 @@ -209,6 +209,8 @@ mod->param.i_fps_den = mod->mux->h.dwScale; mod->param.analyse.b_psnr = psnr; mod->param.i_log_level = log_level; + mod->param.vui.i_sar_width = d_width*height; + mod->param.vui.i_sar_height = d_height*width; switch(outfmt) { case IMGFMT_I420: