[vlc-devel] [vlc-commits] audio_output: debug silencing in ms

Thomas Guillem thomas at gllm.fr
Thu Oct 1 10:02:14 CEST 2020



On Wed, Sep 30, 2020, at 20:52, Rémi Denis-Courmont wrote:
> 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.

Indeed, "%"PRId64 for ticks.

Please, always go through the ML for VLC Core...

> 
> 
> -- 
> Реми Дёни-Курмон
> http://www.remlab.net/
> 
> 
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list