Skip to content

Commit 76d556e

Browse files
committed
player/command: add more precision to avsync pretty print
To better see close to zero values, instead of just clamping to 0.
1 parent 6019ace commit 76d556e

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
@@ -730,7 +730,7 @@ static int mp_property_avsync(void *ctx, struct m_property *prop,
730730
if (!mpctx->ao_chain || !mpctx->vo_chain)
731731
return M_PROPERTY_UNAVAILABLE;
732732
if (action == M_PROPERTY_PRINT || action == M_PROPERTY_FIXED_LEN_PRINT) {
733-
*(char **)arg = mp_format_double(NULL, mpctx->last_av_difference, 4,
733+
*(char **)arg = mp_format_double(NULL, mpctx->last_av_difference, 5,
734734
true, false, action != M_PROPERTY_FIXED_LEN_PRINT);
735735
return M_PROPERTY_OK;
736736
}

0 commit comments

Comments
 (0)