diff options
Diffstat (limited to 'libmpcodecs/ve_x264.c')
-rw-r--r-- | libmpcodecs/ve_x264.c | 2 |
1 files changed, 2 insertions, 0 deletions
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: |