From fe753d0d7140f6f9fe59c31ff8ef56f68450be04 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sun, 2 Dec 2001 21:59:33 +0000 Subject: removing thread remains CVS patchset: 1164 CVS date: 2001/12/02 21:59:33 --- src/libsputext/xine_decoder.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/libsputext/xine_decoder.c b/src/libsputext/xine_decoder.c index 5b2cd0720..3a50adf21 100644 --- a/src/libsputext/xine_decoder.c +++ b/src/libsputext/xine_decoder.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_decoder.c,v 1.4 2001/12/02 21:53:58 guenter Exp $ + * $Id: xine_decoder.c,v 1.5 2001/12/02 21:59:33 guenter Exp $ * * code based on mplayer module: * @@ -90,10 +90,6 @@ typedef struct sputext_decoder_s { osd_object_t *osd; char *font; - /* thread */ - int running; - pthread_t spu_thread; - } sputext_decoder_t; #define FORMAT_MICRODVD 0 @@ -870,15 +866,6 @@ static void spudec_decode_data (spu_decoder_t *this_gen, buf_element_t *buf) { static void spudec_close (spu_decoder_t *this_gen) { sputext_decoder_t *this = (sputext_decoder_t *) this_gen; - void *p; - - printf ("sputext: stopping thread...\n"); - - this->running = 0; - - pthread_join (this->spu_thread, &p); - - printf ("sputext: ...thread stopped\n"); if (this->osd) { osd_close (this->osd); -- cgit v1.2.3