From 468708c456f73c8f03dc930b344feb67d8fc7c2b Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Sat, 1 Jun 2002 16:36:13 +0000 Subject: add missing lock CVS patchset: 1980 CVS date: 2002/06/01 16:36:13 --- src/xine-engine/xine.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index f336d0697..9efe619ff 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.133 2002/05/24 13:15:47 miguelfreitas Exp $ + * $Id: xine.c,v 1.134 2002/06/01 16:36:13 mroi Exp $ * * top-level xine functions * @@ -75,8 +75,10 @@ static void _logo_change_cb(void *data, cfg_entry_t *cfg) { xine_stop_internal(this); this->metronom->adjust_clock(this->metronom, this->metronom->get_current_time(this->metronom) + 30 * 90000 ); + pthread_mutex_lock (&this->logo_lock); xine_play_internal(this, this->logo_mrl, 0, 0); this->status = XINE_LOGO; + pthread_mutex_unlock (&this->logo_lock); } pthread_mutex_unlock (&this->xine_lock); } -- cgit v1.2.3