[vlc-commits] video_output: fix source SAR handling

Steve Lhomme git at videolan.org
Wed Sep 2 09:58:58 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Sep  1 11:05:14 2020 +0200| [c453548fd20f59ca740225992469205d048d511d] | committer: Steve Lhomme

video_output: fix source SAR handling

typo introduced in 1964a189e2bfab203c7614265df3ae5ad8f81502

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c453548fd20f59ca740225992469205d048d511d
---

 src/video_output/video_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 4f48754cf2..49a1e9653a 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -287,7 +287,7 @@ static void vout_SizeWindow(vout_thread_sys_t *vout,
     unsigned w = original->i_visible_width;
     unsigned h = original->i_visible_height;
     unsigned sar_num = original->i_sar_num;
-    unsigned sar_den = original->i_sar_num;
+    unsigned sar_den = original->i_sar_den;
 
     switch (sys->source.crop.mode) {
         case VOUT_CROP_NONE:



More information about the vlc-commits mailing list