diff options
author | nanahi <130121847+na-na-hi@users.noreply.github.com> | 2025-02-14 12:39:57 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2025-02-18 23:05:02 +0000 |
commit | ccaa0e3d56056d9f7a88032957730483a279071c (patch) | |
tree | 9f6e54ce7e25aa5ae86ff3bda74bfc041be03df5 | |
parent | 02199aeb3f2649720587762bf52c2b9aef20f43c (diff) | |
download | mpv-ccaa0e3d56056d9f7a88032957730483a279071c.tar.bz2 mpv-ccaa0e3d56056d9f7a88032957730483a279071c.tar.xz |
command: print "original" also for aspect ratio of "no"
-rw-r--r-- | player/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c index a528975859..5f5675f442 100644 --- a/player/command.c +++ b/player/command.c @@ -3130,7 +3130,7 @@ static int mp_property_video_aspect_override(void *ctx, struct m_property *prop, *(char **)arg = talloc_asprintf(NULL, "16:10"); else if (doubles_equal(aspect_ratio, 4.0 / 3.0)) *(char **)arg = talloc_asprintf(NULL, "4:3"); - else if (doubles_equal(aspect_ratio, -1.0)) + else if (aspect_ratio < 0.0) *(char **)arg = talloc_asprintf(NULL, "Original"); else *(char **)arg = talloc_asprintf(NULL, "%.3f", aspect_ratio); |