[MPlayer-dev-eng] [PATCH] remove strange negative audio position from mencoder

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Mar 3 20:32:23 CET 2014


On Mon, Mar 03, 2014 at 07:32:13PM +0100, Jarek Czekalski wrote:
> Ticket #2174 [1] describes a situation where mencoder reports
> strange huge negative audio position. This patch helps that by
> outputting -1 instead of -1<<63 (MP_NOPTS_VALUE), which looked like
> an error.

That is confusing and mislead, -1 is a perfectly fine timestamp and
using that is hardly less confusing than using a more "obvious" value.
Also, no such code is used for video or the MPlayer prints,
so it would be inconsistent.
Besides changing it to print a more obvious string, one option would
be to use NaN, though how that will be printed is not necessarily
portable and I'm not sure it's really better.


More information about the MPlayer-dev-eng mailing list