[vlc-devel] [PATCH] Support DVD LPCM encode

Jean-Baptiste Kempf jb at videolan.org
Fri Oct 1 15:51:16 CEST 2010


On Fri, Oct 01, 2010 at 02:24:52AM +0200, Steinar H. Gunderson wrote :
> On Mon, Sep 27, 2010 at 11:49:38PM +0200, Steinar H. Gunderson wrote:
> > +        p_block->i_dts = p_block->i_pts = p_aout_buf->i_pts +
> > +            (i * p_sys->i_frame_samples + i_start_offset) * CLOCK_FREQ / p_sys->i_rate;
> > +        p_block->i_length = p_sys->i_frame_samples * CLOCK_FREQ / p_sys->i_rate;
> 
> It seems this is not correct wrt. roundoff, and that I should use date_*
> instead. I guess I'll have to dig into it tomorrow.

Putting on hold until your next patch.

> I see this was actually committed; thanks.
Thanks to _you_

Best Regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/
+33 672 704 734



More information about the vlc-devel mailing list