[vlc-commits] [Git][videolan/vlc][master] video_output: fix Display Aspect Ratio initialization
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Fri Sep 13 12:50:55 UTC 2024
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
e997e6ac by Steve Lhomme at 2024-09-13T12:35:22+00:00
video_output: fix Display Aspect Ratio initialization
The read value is correct when GetAspectRatio() returns true.
Bug introduced in 1a54ee461afda0126951ed568426f5577739815a.
- - - - -
1 changed file:
- src/video_output/video_output.c
Changes:
=====================================
src/video_output/video_output.c
=====================================
@@ -2253,7 +2253,7 @@ static void vout_InitSource(vout_thread_sys_t *vout)
char *psz_ar = var_InheritString(&vout->obj, "aspect-ratio");
if (psz_ar) {
unsigned num, den;
- if (!GetAspectRatio(psz_ar, &num, &den))
+ if (GetAspectRatio(psz_ar, &num, &den))
vout_SetAspectRatio(vout, num, den);
free(psz_ar);
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e997e6ac87affbc708d9dbe9511d87272d7714b3
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e997e6ac87affbc708d9dbe9511d87272d7714b3
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list