[vlc-devel] [vlc-commits] audio_output: debug silencing in ms
Rémi Denis-Courmont
remi at remlab.net
Wed Sep 30 20:52:40 CEST 2020
Le keskiviikkona 30. syyskuuta 2020, 17.54.58 EEST Francois Cartegnie a écrit
:
> vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Sep 29
> 13:52:01 2020 +0200| [aab73c4ec688f4832a3f6391ccee4aab597d4dac] |
> committer: Francois Cartegnie
>
> audio_output: debug silencing in ms
>
> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=aab73c4ec688f4832a3
> > f6391ccee4aab597d4dac
> ---
>
> src/audio_output/dec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/audio_output/dec.c b/src/audio_output/dec.c
> index d3e5de9bfe..f3a3369ac1 100644
> --- a/src/audio_output/dec.c
> +++ b/src/audio_output/dec.c
> @@ -255,7 +255,7 @@ static void aout_DecSilence (audio_output_t *aout,
> vlc_tick_t length, vlc_tick_t if (unlikely(block == NULL))
> return; /* uho! */
>
> - msg_Dbg (aout, "inserting %zu zeroes", frames);
> + msg_Dbg (aout, "inserting %zu zeroes / %ld ms", frames,
> MS_FROM_VLC_TICK(length));
> memset (block->p_buffer, 0, block->i_buffer);
> block->i_nb_samples = frames;
> block->i_pts = pts;
Format string does not seem right.
--
Реми Дёни-Курмон
http://www.remlab.net/
More information about the vlc-devel
mailing list