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

Jarek Czekalski jarekczek at poczta.onet.pl
Mon Mar 3 21:07:10 CET 2014

W dniu 03/03/2014 08:32 PM, Reimar Döffinger pisze:
> 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.

You may close the ticket as "not a bug" then.

More information about the MPlayer-dev-eng mailing list