diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-06-01 16:36:13 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-06-01 16:36:13 +0000 |
commit | 468708c456f73c8f03dc930b344feb67d8fc7c2b (patch) | |
tree | af5445a89185f6402aad094b48da044418715c83 /src | |
parent | ee1fdeaee4954b82778ab81d7ddb9197ef6ff7c5 (diff) | |
download | xine-lib-468708c456f73c8f03dc930b344feb67d8fc7c2b.tar.gz xine-lib-468708c456f73c8f03dc930b344feb67d8fc7c2b.tar.bz2 |
add missing lock
CVS patchset: 1980
CVS date: 2002/06/01 16:36:13
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/xine.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); } |