From 6f3aad62febe49e0ac9462cbc42c05f9c41156b5 Mon Sep 17 00:00:00 2001 From: Ewald Snel Date: Mon, 13 Jan 2003 15:40:08 +0000 Subject: Fix segmentation fault (in X11 libraries) This occurs when using xine-lib in a multithreaded environment, using a single xine object with multiple streams and multiple X11 display connections, which are closed when a stream is disposed. CVS patchset: 3898 CVS date: 2003/01/13 15:40:08 --- src/xine-engine/xine.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 677090cd9..c580d597b 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.216 2003/01/13 03:02:15 miguelfreitas Exp $ + * $Id: xine.c,v 1.217 2003/01/13 15:40:08 esnel Exp $ * * top-level xine functions * @@ -915,8 +915,7 @@ void xine_dispose (xine_stream_t *stream) { video_decoder_shutdown (stream); stream->osd_renderer->close( stream->osd_renderer ); - /* it makes no sense to dispose a video port on stream dispose */ - /* stream->video_out->exit (stream->video_out); */ + stream->video_out->exit (stream->video_out); stream->video_fifo->dispose (stream->video_fifo); pthread_mutex_destroy (&stream->frontend_lock); -- cgit v1.2.3