summaryrefslogtreecommitdiff
path: root/src/xine-engine/xine.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-06-23 19:45:47 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-06-23 19:45:47 +0000
commitee8df4f4d8e2088da9dbc38e3230fad1de64908f (patch)
tree945c14e183c1c36bf91050e036efa67ae205e5e3 /src/xine-engine/xine.c
parent5e9ccc6f1f1689a317e574f48d3acedce3d11a40 (diff)
downloadxine-lib-ee8df4f4d8e2088da9dbc38e3230fad1de64908f.tar.gz
xine-lib-ee8df4f4d8e2088da9dbc38e3230fad1de64908f.tar.bz2
fixed race between metronom and xine engine, small audio plugin api change to improve responsiveness (unfinished), small demux_mpeg_block bugfix (alignment for DVD plugin)
CVS patchset: 218 CVS date: 2001/06/23 19:45:47
Diffstat (limited to 'src/xine-engine/xine.c')
-rw-r--r--src/xine-engine/xine.c20
1 files changed, 2 insertions, 18 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c
index eb08a1e7b..542958083 100644
--- a/src/xine-engine/xine.c
+++ b/src/xine-engine/xine.c
@@ -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: xine.c,v 1.29 2001/06/21 17:34:24 guenter Exp $
+ * $Id: xine.c,v 1.30 2001/06/23 19:45:47 guenter Exp $
*
* top-level xine functions
*
@@ -93,9 +93,6 @@ void xine_stop (xine_t *this) {
this->spu_fifo->clear(this->spu_fifo);
- this->metronom->stop_clock (this->metronom);
- this->metronom->reset(this->metronom);
-
pthread_mutex_unlock (&this->xine_lock);
}
@@ -219,12 +216,6 @@ static void xine_play_internal (xine_t *this, char *mrl,
this->cur_demuxer_plugin->get_identifier());
/*
- * metronom
- */
-
- this->metronom->reset(this->metronom);
-
- /*
* start demuxer
*/
@@ -244,11 +235,6 @@ static void xine_play_internal (xine_t *this, char *mrl,
this->status = XINE_PLAY;
strncpy (this->cur_mrl, mrl, 1024);
- /*
- * start clock
- */
-
- this->metronom->start_clock (this->metronom, 0);
}
void xine_play (xine_t *this, char *MRL, int spos) {
@@ -389,7 +375,7 @@ xine_t *xine_init (vo_driver_t *vo,
* create a metronom
*/
- this->metronom = metronom_init ();
+ this->metronom = metronom_init (ao != NULL);
/*
* load input and demuxer plugins
@@ -440,8 +426,6 @@ void xine_select_audio_channel (xine_t *this, int channel) {
this->audio_channel = channel;
- /* this->metronom->reset(this->metronom); */
-
pthread_mutex_unlock (&this->xine_lock);
}