From 1d8ef7b21a40d606ff1059afb79b5b63890f6b9b Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Sat, 13 Mar 2004 13:59:19 +0000 Subject: since the real fix would require changes to critical parts of the engine (although no severe changes), I decided to commit an interim fix to prevent any breakage before the release CVS patchset: 6246 CVS date: 2004/03/13 13:59:19 --- src/libsputext/xine_decoder.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/libsputext/xine_decoder.c b/src/libsputext/xine_decoder.c index 7e99e2b33..40d853f6f 100644 --- a/src/libsputext/xine_decoder.c +++ b/src/libsputext/xine_decoder.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000-2003 the xine project + * Copyright (C) 2000-2004 the xine project * * This file is part of xine, a free video player. * @@ -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.77 2004/02/15 18:52:42 heinchen Exp $ + * $Id: xine_decoder.c,v 1.78 2004/03/13 13:59:19 mroi Exp $ * */ @@ -35,6 +35,10 @@ /* #define LOG */ + +/* FIXME: evil, evil, evil! */ +#define XINE_ENGINE_INTERNAL + #include "buffer.h" #include "xine_internal.h" #include "xineutils.h" @@ -557,6 +561,8 @@ static void spudec_decode_data (spu_decoder_t *this_gen, buf_element_t *buf) { if( this->ogm ) return; + if (this->class->xine->port_ticket->ticket_revoked) + this->class->xine->port_ticket->renew(this->class->xine->port_ticket, 0); xine_usec_sleep (50000); } -- cgit v1.2.3