changeset 14023:b055a075999a

set sample aspect ratio
author lorenm
date Wed, 24 Nov 2004 00:54:20 +0000
parents 803be9a78854
children 0d9e27059495
files libmpcodecs/ve_x264.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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: