From 8c884c46466a1f7328e08dec574f5e4a5339bf64 Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Tue, 23 Apr 2002 22:42:17 +0000 Subject: Minor bug fix. Apparently transparent SPUs are still needed, in case buttons go on them. CVS patchset: 1770 CVS date: 2002/04/23 22:42:17 --- src/libspudec/spu.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src') diff --git a/src/libspudec/spu.c b/src/libspudec/spu.c index 82e48eae7..35c655ac5 100644 --- a/src/libspudec/spu.c +++ b/src/libspudec/spu.c @@ -35,7 +35,7 @@ * along with this program; see the file COPYING. If not, write to * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. * - * $Id: spu.c,v 1.35 2002/04/23 21:48:06 jcdutton Exp $ + * $Id: spu.c,v 1.36 2002/04/23 22:42:17 jcdutton Exp $ * */ @@ -285,14 +285,6 @@ void spudec_process (spudec_decoder_t *this, uint32_t stream_id) { this->overlay.clip_trans[i] = this->overlay.trans[i]; } } - - if ( !(this->overlay.trans[0] | this->overlay.trans[1] | this->overlay.trans[2] | this->overlay.trans[3] | - this->overlay.clip_trans[0] | this->overlay.clip_trans[1] | this->overlay.clip_trans[2] | this->overlay.clip_trans[3]) ) { - /* SPU is transparent so why bother displaying it. */ - printf ("spu: transparent spu found, discarding it.\n" ); - return; - } - if ((this->state.modified) ) { spudec_draw_picture(&this->state, cur_seq, &this->overlay); } -- cgit v1.2.3