[vlc-commits] splitter: wall: fix aspect ratio
Victorien Le Couviour--Tuffet
git at videolan.org
Wed Aug 2 19:19:27 CEST 2017
vlc | branch: master | Victorien Le Couviour--Tuffet <victorien.lecouviour.tuffet at gmail.com> | Wed Aug 2 16:37:13 2017 +0200| [d15bf6d4028e7b935644f3dbbd81fd0f38527890] | committer: Rémi Denis-Courmont
splitter: wall: fix aspect ratio
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d15bf6d4028e7b935644f3dbbd81fd0f38527890
---
modules/video_splitter/wall.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_splitter/wall.c b/modules/video_splitter/wall.c
index 3e95f91e15..e234ca3622 100644
--- a/modules/video_splitter/wall.c
+++ b/modules/video_splitter/wall.c
@@ -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;
More information about the vlc-commits
mailing list