[MPlayer-dev-eng] [PATCH] demux_ogg: Use double instead of float for pts.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Thu Dec 15 20:29:39 CET 2011
On Thu, Dec 15, 2011 at 07:43:01PM +0100, Giorgio Vazzana wrote:
> The attached patch #2 should solve the problem:
Seems good, we should always have used double.
> ps. sadly, this is not the only problem with live theora streams: when
> the first packet of a stream has a granulepos=-1, MPlayer just sits
> there waiting: this is because when a packet with a granulepos>=0
> arrives, the pts goes from a very low value for the previous frame, to
> a big value for the current frame, making the frametime several
> minutes or even hours. I can provide a sample if someone wants to look
> at it.
Samples are good (whether someone will actually look at it is a
different question I admit).
But have you tried -demuxer lavf?
It might be time to consider it as default again.
It is the default for on-disk files already, but I think there were
some issues when streaming. You sound like you might be the right person
to give it a rather thorough testing...
More information about the MPlayer-dev-eng
mailing list