summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_out.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-10 19:15:16 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-10 19:15:16 +0000
commit84016d72f4b91bae918551bd5501123088e826f5 (patch)
treeeeffcfbad60306d9c891fb3c52969caad11bf5fb /src/xine-engine/audio_out.c
parent519cd1f3de64e2992d3d7c2509f6c6e6ba575849 (diff)
downloadxine-lib-84016d72f4b91bae918551bd5501123088e826f5.tar.gz
xine-lib-84016d72f4b91bae918551bd5501123088e826f5.tar.bz2
protect update of current_extra_info
CVS patchset: 3854 CVS date: 2003/01/10 19:15:16
Diffstat (limited to 'src/xine-engine/audio_out.c')
-rw-r--r--src/xine-engine/audio_out.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c
index 2b5e0973e..7cb1e1d74 100644
--- a/src/xine-engine/audio_out.c
+++ b/src/xine-engine/audio_out.c
@@ -17,7 +17,7 @@
* along with self program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_out.c,v 1.96 2003/01/09 02:44:39 miguelfreitas Exp $
+ * $Id: audio_out.c,v 1.97 2003/01/10 19:15:16 miguelfreitas Exp $
*
* 22-8-2001 James imported some useful AC3 sections from the previous alsa driver.
* (c) 2001 Andy Lo A Foe <andy@alsaplayer.org>
@@ -625,7 +625,9 @@ static void *ao_loop (void *this_gen) {
if( in_buf && in_buf->stream && !in_buf->stream->video_decoder_plugin ) {
+ pthread_mutex_lock( &in_buf->stream->current_extra_info_lock );
extra_info_merge( in_buf->stream->current_extra_info, in_buf->extra_info );
+ pthread_mutex_unlock( &in_buf->stream->current_extra_info_lock );
}
/*