summaryrefslogtreecommitdiff
path: root/src/xine-engine/metronom.h
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-03-01 09:29:49 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-03-01 09:29:49 +0000
commit99a4dbf75cc3f7a40354b6c6596f4ea7aa373c52 (patch)
tree806a86599b236768bb1742f16d88053d5418d931 /src/xine-engine/metronom.h
parentfa19bf6548378144d233d9cd3b898b98c97f3748 (diff)
downloadxine-lib-99a4dbf75cc3f7a40354b6c6596f4ea7aa373c52.tar.gz
xine-lib-99a4dbf75cc3f7a40354b6c6596f4ea7aa373c52.tar.bz2
memleak fixes from ewald snel
CVS patchset: 1535 CVS date: 2002/03/01 09:29:49
Diffstat (limited to 'src/xine-engine/metronom.h')
-rw-r--r--src/xine-engine/metronom.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xine-engine/metronom.h b/src/xine-engine/metronom.h
index 1b6a841cc..cca444be1 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.17 2002/02/09 07:13:24 guenter Exp $
+ * $Id: metronom.h,v 1.18 2002/03/01 09:29:50 guenter Exp $
*
* metronom: general pts => virtual calculation/assoc
*
@@ -195,6 +195,8 @@ struct metronom_s {
int (*register_scr) (metronom_t *this, scr_plugin_t *scr);
void (*unregister_scr) (metronom_t *this, scr_plugin_t *scr);
+ void (*exit) (metronom_t *this);
+
/*
* metronom internal stuff
*/
@@ -231,6 +233,7 @@ struct metronom_s {
int audio_discontinuity_count;
pthread_cond_t video_discontinuity_reached;
pthread_cond_t audio_discontinuity_reached;
+ pthread_cond_t cancel;
};
@@ -261,6 +264,8 @@ struct scr_plugin_s
int64_t (*get_current) (scr_plugin_t *this);
+ void (*exit) (scr_plugin_t *this);
+
metronom_t *metronom;
};