From 4af34cb4cdaaa3fb1d0d807135d50982551be69e Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Tue, 29 Oct 2002 21:31:02 +0000 Subject: i don't think this lock is needed (read-only access) CVS patchset: 3097 CVS date: 2002/10/29 21:31:02 --- src/xine-engine/xine.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index edda8b025..22cd81a92 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.183 2002/10/29 16:02:51 mroi Exp $ + * $Id: xine.c,v 1.184 2002/10/29 21:31:02 guenter Exp $ * * top-level xine functions * @@ -802,16 +802,16 @@ int xine_get_speed (xine_stream_t *stream) { static int xine_get_stream_length (xine_stream_t *stream) { - pthread_mutex_lock( &stream->demux_lock ); + /* pthread_mutex_lock( &stream->demux_lock ); */ if (stream->demux_plugin) { int len = stream->demux_plugin->get_stream_length (stream->demux_plugin); - pthread_mutex_unlock( &stream->demux_lock ); + /* pthread_mutex_unlock( &stream->demux_lock ); */ return len; } - pthread_mutex_unlock( &stream->demux_lock ); + /* pthread_mutex_unlock( &stream->demux_lock ); */ return 0; } -- cgit v1.2.3