summaryrefslogtreecommitdiff
path: root/src/xine-engine/metronom.h
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-09-12 22:18:47 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-09-12 22:18:47 +0000
commit7d6fb6c905dbd842eead370f2412a55eda31cecb (patch)
tree45d81b00889662bf46f3ce4c15f1b898566f1b9f /src/xine-engine/metronom.h
parent436000020930b0ce16be4a34fae8ff5df28450a5 (diff)
downloadxine-lib-7d6fb6c905dbd842eead370f2412a55eda31cecb.tar.gz
xine-lib-7d6fb6c905dbd842eead370f2412a55eda31cecb.tar.bz2
further tweaks and patches for menu support: new buftypes (BUF_CONTROL_DISCONTINUITY,BUF_CONTROL_NOP,BUF_CONTROL_AUDIO_CHANNEL,BUF_CONTROL_SPU_CHANNEL) so input plugins can enhance their communication with the xine engine (regarding pts continuities for example) - not all is implemented yet, but what is implemented is working pretty well - at least for me ;))
CVS patchset: 627 CVS date: 2001/09/12 22:18:47
Diffstat (limited to 'src/xine-engine/metronom.h')
-rw-r--r--src/xine-engine/metronom.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/xine-engine/metronom.h b/src/xine-engine/metronom.h
index 368bed25e..4b436bdce 100644
--- a/src/xine-engine/metronom.h
+++ b/src/xine-engine/metronom.h
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: metronom.h,v 1.10 2001/08/25 07:12:16 guenter Exp $
+ * $Id: metronom.h,v 1.11 2001/09/12 22:18:47 guenter Exp $
*
* metronom: general pts => virtual calculation/assoc
*
@@ -121,6 +121,13 @@ struct metronom_s {
int32_t (*get_av_offset) (metronom_t *this);
/*
+ * tell metronom to expect a pts discontinuity
+ */
+
+ void (*expect_audio_discontinuity) (metronom_t *this);
+ void (*expect_video_discontinuity) (metronom_t *this);
+
+ /*
* system clock reference (SCR) functions
*/
@@ -205,6 +212,8 @@ struct metronom_s {
int video_stream_running;
int audio_stream_starting;
int audio_stream_running;
+ int video_discontinuity;
+ int audio_discontinuity;
pthread_cond_t video_started;
pthread_cond_t audio_started;
pthread_cond_t video_ended;