summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-04 21:38:45 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-04 21:38:45 +0000
commit5e1b88a019de70b93b280f263ccbd1dbd8a0dce0 (patch)
treef7dbee18650b5fa466fb52fceaf85cd8e4351283 /mp_core.h
parente57a8e10402a350f5bbbbe0769fd64e0e4e0986a (diff)
downloadmpv-5e1b88a019de70b93b280f263ccbd1dbd8a0dce0.tar.bz2
mpv-5e1b88a019de70b93b280f263ccbd1dbd8a0dce0.tar.xz
At startup and while seeking avoid to introduce pointless sleeps and possibly
desync due to codec delay. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30218 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp_core.h')
-rw-r--r--mp_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mp_core.h b/mp_core.h
index dc08bff175..5d3f86972c 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -72,6 +72,8 @@ typedef struct MPContext {
// 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;