[vlc-devel] [vlc-commits] hotkeys: fix format string

Steve Lhomme robux4 at ycbcr.xyz
Sat Jul 7 09:11:57 CEST 2018


Sorry about that. There might be other occurences left.


On 2018-07-06 19:28, Rémi Denis-Courmont wrote:
> 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;
>
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> https://mailman.videolan.org/listinfo/vlc-commits



More information about the vlc-devel mailing list