diff mp_core.h @ 22288:da8ba4c0fc57

Cleanup, move "global" state from the frame_time_remaining mainloop variable to mpctx.
author uau
date Wed, 21 Feb 2007 21:59:33 +0000
parents a5e5b0c45c03
children 3340e52ad814
line wrap: on
line diff
--- a/mp_core.h	Wed Feb 21 19:48:12 2007 +0000
+++ b/mp_core.h	Wed Feb 21 21:59:33 2007 +0000
@@ -62,6 +62,10 @@
     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.