Skip to content

Commit 6019ace

Browse files
committed
player/command: add more precision to av speed correction pretty print
Those values are often very small, but it's still good information to have how they are changing. This brings those values closes to old `%+.05f%%` that were used here.
1 parent 8665237 commit 6019ace

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

player/command.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ static int mp_property_av_speed_correction(void *ctx, struct m_property *prop,
487487
}
488488

489489
if (action == M_PROPERTY_PRINT || action == M_PROPERTY_FIXED_LEN_PRINT) {
490-
*(char **)arg = mp_format_double(NULL, (val - 1) * 100, 2, true,
490+
*(char **)arg = mp_format_double(NULL, (val - 1) * 100, 4, true,
491491
true, action != M_PROPERTY_FIXED_LEN_PRINT);
492492
return M_PROPERTY_OK;
493493
}

0 commit comments

Comments
 (0)