[vlc-devel] [PATCH 1/7] video_output: fix source SAR handling

Steve Lhomme robux4 at ycbcr.xyz
Tue Sep 1 12:06:32 CEST 2020


typo introduced in 1964a189e2bfab203c7614265df3ae5ad8f81502
---
 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 4f48754cf2e..49a1e9653ad 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:
-- 
2.26.2



More information about the vlc-devel mailing list