Commit 96fdf2c8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Revert "vout: assume aspect ratio is 1:1 if information is missing"

This reverts commit bf5bc83e.

Close #10657
parent 371acd7c
......@@ -1182,9 +1182,8 @@ void vout_SetDisplayAspect(vout_display_t *vd, unsigned dar_num, unsigned dar_de
sar_den = dar_den * osys->source.i_visible_width;
vlc_ureduce(&sar_num, &sar_den, sar_num, sar_den, 0);
} else {
/* Assume 1:1 SAR if the information is missing */
sar_num = 1;
sar_den = 1;
sar_num = 0;
sar_den = 0;
}
if (osys->sar.num != sar_num || osys->sar.den != sar_den) {
......
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