summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-21 21:59:33 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-02-21 21:59:33 +0000
commit3c0c8686fdff3b33487154bb31c8726961a112d8 (patch)
treefd04f3e7b1e59358b638df73d544cde44db0b402 /mp_core.h
parent06ef3831e71f0ee085b8b1419ee2f34829963941 (diff)
downloadmpv-3c0c8686fdff3b33487154bb31c8726961a112d8.tar.bz2
mpv-3c0c8686fdff3b33487154bb31c8726961a112d8.tar.xz
Cleanup, move "global" state from the frame_time_remaining mainloop
variable to mpctx. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22306 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp_core.h')
-rw-r--r--mp_core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mp_core.h b/mp_core.h
index b0efcaeab3..5133d19b0b 100644
--- a/mp_core.h
+++ b/mp_core.h
@@ -62,6 +62,10 @@ typedef struct MPContext {
demux_stream_t *d_sub;
mixer_t mixer;
vo_functions_t *video_out;
+ // Frames buffered in the vo ready to flip. Currently always 0 or 1.
+ // This is really a vo variable but currently there's no suitable vo
+ // struct.
+ int num_buffered_frames;
short edl_muted; ///< Stores whether EDL is currently in muted mode.
short user_muted; ///< Stores whether user wanted muted mode.