Commit d15bf6d4 authored by Victorien Le Couviour--Tuffet's avatar Victorien Le Couviour--Tuffet Committed by Rémi Denis-Courmont

splitter: wall: fix aspect ratio

Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent b084d34c
......@@ -359,8 +359,8 @@ static int Open( vlc_object_t *p_this )
p_cfg->fmt.i_width = p_output->i_width;
p_cfg->fmt.i_visible_height =
p_cfg->fmt.i_height = p_output->i_height;
p_cfg->fmt.i_sar_num = (int64_t)i_aspect * i_target_height;
p_cfg->fmt.i_sar_den = VOUT_ASPECT_FACTOR * i_target_width;
p_cfg->fmt.i_sar_num = p_splitter->fmt.i_sar_num;
p_cfg->fmt.i_sar_den = p_splitter->fmt.i_sar_den;
p_cfg->window.i_x = p_output->i_left;
p_cfg->window.i_y = p_output->i_top;
p_cfg->window.i_align = p_output->i_align;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment