diff options
author | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2002-04-23 22:42:17 +0000 |
---|---|---|
committer | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2002-04-23 22:42:17 +0000 |
commit | 8c884c46466a1f7328e08dec574f5e4a5339bf64 (patch) | |
tree | 7fec7add851db87fb19e8176104549165442992a /src | |
parent | 8f87fa5569fc718867a2b9837d21dc955ebbbd1f (diff) | |
download | xine-lib-8c884c46466a1f7328e08dec574f5e4a5339bf64.tar.gz xine-lib-8c884c46466a1f7328e08dec574f5e4a5339bf64.tar.bz2 |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/libspudec/spu.c | 10 |
1 files changed, 1 insertions, 9 deletions
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); } |