summaryrefslogtreecommitdiffstats
path: root/core/mp_core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-04-04 14:24:42 +0200
committerwm4 <wm4@nowhere>2013-04-04 14:24:42 +0200
commitccc213fdac9783b9e450342cf5a346508e961e2f (patch)
treeb98a96a0c6514e48b0322eaf3552f8503d331f16 /core/mp_core.h
parente1d57504b3e48099f447842713e60f0eef0e04db (diff)
downloadmpv-ccc213fdac9783b9e450342cf5a346508e961e2f.tar.bz2
mpv-ccc213fdac9783b9e450342cf5a346508e961e2f.tar.xz
core: add --heartbeat-interval option
This closely follows MPlayer commit 36099, with some changes. Move a mutable static variable into MPContext.
Diffstat (limited to 'core/mp_core.h')
-rw-r--r--core/mp_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/mp_core.h b/core/mp_core.h
index b8782f14e9..ea3d918b27 100644
--- a/core/mp_core.h
+++ b/core/mp_core.h
@@ -220,6 +220,7 @@ typedef struct MPContext {
float audio_delay;
+ unsigned int last_heartbeat;
// used to prevent hanging in some error cases
unsigned int start_timestamp;