Mercurial > mplayer.hg
diff mp_core.h @ 30176:6fb92182aff3
At startup and while seeking avoid to introduce pointless sleeps and possibly
desync due to codec delay.
author | reimar |
---|---|
date | Mon, 04 Jan 2010 21:38:45 +0000 |
parents | b7bb4a899a6b |
children | c1a3f1bbba26 |
line wrap: on
line diff
--- a/mp_core.h Mon Jan 04 21:27:08 2010 +0000 +++ b/mp_core.h Mon Jan 04 21:38:45 2010 +0000 @@ -72,6 +72,8 @@ // struct. int num_buffered_frames; + // used to retry decoding after startup/seeking to compensate for codec delay + int startup_decode_retry; // how long until we need to display the "current" frame float time_frame;