diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2006-08-08 03:25:03 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2006-08-08 03:25:03 +0000 |
commit | 296c87bd32a288895e571df79ad4c3781935c750 (patch) | |
tree | 232c5667b3efc3759a1813f1a9854bc19d3adc2e /src/xine-engine/xine.c | |
parent | 7f4a958a4e50619a11b2cc04f3d4844f34e825ef (diff) | |
download | xine-lib-296c87bd32a288895e571df79ad4c3781935c750.tar.gz xine-lib-296c87bd32a288895e571df79ad4c3781935c750.tar.bz2 |
new mutex to synchronize order of pairwise A/V buffer operations
by Reinhard Nissl
CVS patchset: 8167
CVS date: 2006/08/08 03:25:03
Diffstat (limited to 'src/xine-engine/xine.c')
-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 e6bf5f26d..a0075765e 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.324 2006/07/03 10:55:37 dgp85 Exp $ + * $Id: xine.c,v 1.325 2006/08/08 03:25:03 miguelfreitas Exp $ */ /* @@ -533,6 +533,7 @@ xine_stream_t *xine_stream_new (xine_t *this, pthread_mutex_init (&stream->info_mutex, NULL); pthread_mutex_init (&stream->meta_mutex, NULL); pthread_mutex_init (&stream->demux_lock, NULL); + pthread_mutex_init (&stream->demux_mutex, NULL); pthread_mutex_init (&stream->event_queues_lock, NULL); pthread_mutex_init (&stream->counter_lock, NULL); pthread_cond_init (&stream->counter_changed, NULL); @@ -1270,6 +1271,7 @@ void xine_dispose_internal (xine_stream_t *stream) { pthread_mutex_destroy (&stream->event_queues_lock); pthread_mutex_destroy (&stream->current_extra_info_lock); pthread_cond_destroy (&stream->counter_changed); + pthread_mutex_destroy (&stream->demux_mutex); pthread_mutex_destroy (&stream->demux_lock); pthread_mutex_destroy (&stream->first_frame_lock); pthread_cond_destroy (&stream->first_frame_reached); |