[vlc-devel] DEFUALT_PTS_DELAY, VOUT_BOGUS_DELAY and AOUT_MAX_ADVANCE_TIME

Sigmund Augdal sigmunau at stud.ntnu.no
Sat Sep 13 18:28:51 CEST 2003


both AOUT_MAX_ADVANCE_TIME and VOUT_BOGUS_DELAY are defined as
DEFAULT_PTS_DELAY*3, but since DEFAULT_PTS_DELAY have become configureable
the code that uses these didn't work, so some quick fix was made.

"AOUT_MAX_ADVANCE_TIME" turned into 
"p_aout->i_pts_delay + AOUT_MAX_ADVANCE_TIME" 
and 

"VOUT_BOGUS_DELAY" turned into
"p_vout->i_pts_delay + VOUT_BOGUS_DELAY"

anyone know the reason for the values of these two constants?
If I guess right using
"p_aout->i_pts_delay * AOUT_MAX_ADVANCE_FACTOR" and
"p_vout->i_pts_delay * VOUT_BOGUS_DELAY_FACTOR" whould be better, and the
constants whould both be 3

There are also direct references to DEFAULT_PTS_DELAY a lot of places, and I
think all of these should be examined and most be removed.


Sigmund

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list