[vlc-commits] hotkeys: fix format string
Rémi Denis-Courmont
git at videolan.org
Fri Jul 6 19:28:12 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jul 6 19:44:15 2018 +0300| [674aa28b6fd3f3e253973e1133392c1e0616f357] | committer: Rémi Denis-Courmont
hotkeys: fix format string
Regression from tick rework.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=674aa28b6fd3f3e253973e1133392c1e0616f357
---
modules/control/hotkeys.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index c875cbbea2..a4078bf198 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -690,7 +690,7 @@ static int PutAction( intf_thread_t *p_intf, input_thread_t *p_input,
vlc_tick_t i_total_subdelay = i_current_subdelay + i_additional_subdelay;
var_SetInteger( p_input, "spu-delay", i_total_subdelay);
ClearChannels( p_vout, slider_chan );
- DisplayMessage( p_vout, _( "Sub sync: corrected %i ms (total delay = %i ms)" ),
+ DisplayMessage( p_vout, _( "Sub sync: corrected %"PRId64" ms (total delay = %"PRId64" ms)" ),
MS_FROM_VLC_TICK( i_additional_subdelay ),
MS_FROM_VLC_TICK( i_total_subdelay ) );
p_sys->subtitle_delaybookmarks.i_time_audio = 0;
More information about the vlc-commits
mailing list