[vlc-devel] [vlc-commits] src: use CLOCK_FREQ

Ilkka Ollakka ileoo at videolan.org
Thu Jul 17 11:25:48 CEST 2014


On Tue, Jul 15, 2014 at 03:42:57PM -0400, Tristan Matthews wrote:
> >      const int i_delay = var_CreateGetInteger( p_input, "sub-delay" );
> >      if( i_delay != 0 )
> > -        var_SetTime( p_input, "spu-delay", (mtime_t)i_delay * 100000 );
> > +        var_SetTime( p_input, "spu-delay", (mtime_t)i_delay * CLOCK_FREQ );

> So was spu-delay wrongly 10 times too small before?

my bad, spu-delay was right before

-- 
Ilkka Ollakka
If we do not change our direction we are likely to end up where we are headed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140717/19a14141/attachment.sig>


More information about the vlc-devel mailing list