<html><head></head><body>Hi,<br><br>The patch and the description don't seem to match. The patch allows the empty string has a ratio.<br><br><div class="gmail_quote">Le 12 octobre 2020 16:14:04 GMT+03:00, Steve Lhomme <robux4@ycbcr.xyz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">We need to tell the core when the user wants to use the default (source) aspect<br>ratio, rather than one it sets before.<hr> src/video_output/vout_intf.c | 4 +++-<br> 1 file changed, 3 insertions(+), 1 deletion(-)<br><br>diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c<br>index 6446fd916cf..1c8159ce21e 100644<br>--- a/src/video_output/vout_intf.c<br>+++ b/src/video_output/vout_intf.c<br>@@ -528,8 +528,10 @@ bool GetAspectRatio(const char *ar_str, unsigned *num, unsigned *den)<br>     if (sscanf(ar_str, "%u:%u", num, den) == 2 &&<br>         (num != 0) == (den != 0))<br>         return true;<br>-    else if (*ar_str == '\0')<br>+    else if (*ar_str == '\0') {<br>         *num = *den = 0;<br>+        return true;<br>+    }<br>     return false;<br> }<br> </pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>