[MPlayer-dev-eng] fix braindamaged -edlout behavior

Rich Felker dalias at aerifal.cx
Tue Jul 4 17:36:54 CEST 2006


On Tue, Jul 04, 2006 at 11:36:32AM -0400, Rich Felker wrote:
> On Tue, Jul 04, 2006 at 04:16:23PM +0300, Uoti Urpala wrote:
> > On Tue, 2006-07-04 at 14:51 +0200, Reimar Doeffinger wrote:
> > > IMHO these both should be double, since 0 might be a valid pts
> > > timestamp. MP_NOPTS_VALUE should be used instead, but that probably will
> > > not work with float.
> > 
> > MP_NOPTS_VALUE can be represented exactly as a float. It's -1<<63, so
> > the mantissa is just 1, and the exponent is within float range.
> 
> As long as pts is still floating point, why don't we just use infinity
> for MP_NOPTS_VALUE?!

Or perhaps more appropriately, NaN.

Rich




More information about the MPlayer-dev-eng mailing list