From dc9851c0db9b1ae957f20d1890b987f653a9dc60 Mon Sep 17 00:00:00 2001 From: lorenm Date: Wed, 24 Nov 2004 00:54:20 +0000 Subject: set sample aspect ratio git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14024 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ve_x264.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libmpcodecs') diff --git a/libmpcodecs/ve_x264.c b/libmpcodecs/ve_x264.c index dcb4a0b176..65fcbfadc0 100644 --- a/libmpcodecs/ve_x264.c +++ b/libmpcodecs/ve_x264.c @@ -209,6 +209,8 @@ static int config(struct vf_instance_s* vf, int width, int height, int d_width, 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: -- cgit v1.2.3