[MPlayer-dev-eng] [PATCH] mplayer.c: Improved timing for long duration video-only.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Mar 8 01:17:36 EET 2017


On Tue, Mar 07, 2017 at 09:35:41PM +0100, Reimar Döffinger wrote:
> In particularly when double-buffering is disabled, but
> also when vo_gl needs to refresh, a buffered frame will
> be displayed before it is time to do so.
> To reduce the impact of this, buffer at most 0.5s ahead.
> Also fix a bug where the duration of the buffered frame
> would be added on top of time for the currently displayed
> time.
> 
> Fixes the later samples of issue #2315, but probably
> not the original issue.

This was unfortunately complete nonsense, corrected
(much larger) patch sent.
This effectively applied the timings to the wrong
frame, which made everything look right for simple
(constant frame rate) cases.


More information about the MPlayer-dev-eng mailing list