[vlc-devel] [PATCH] ugly resampler, handle that output data isn't longer than input data
ileoo at videolan.org
Mon Apr 21 19:49:24 CEST 2014
On Mon, Apr 21, 2014 at 12:46:26PM +0300, Rémi Denis-Courmont wrote:
> Le dimanche 20 avril 2014, 12:24:49 ileoo at videolan.org a écrit :
> > + msg_Info( p_filter, "input samples %d length %d",
> > p_in_buf->i_nb_samples, p_in_buf->i_length );
> Too verbose. Also, wrong format string.
Thanks for checking.
> I think this is pretty much as wrong as the previous code. We should account
> for rounding errors, e.g. using date_*(). This would require a special case
> for discontinuities though.
Yes, I think you are right. With same effort code could use date_*() and
take account rounding errors.
I just got my PRINCE bumper sticker ... But now I can't remember WHO he is ...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 490 bytes
Desc: Digital signature
More information about the vlc-devel