From c9cd71ea142b5ac31bfa46061ca942b275cf108e Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 5 Oct 2001 11:10:00 +0000 Subject: fix from Koo kyoseon to change subtitle colors together with spu channel CVS patchset: 736 CVS date: 2001/10/05 11:10:00 --- src/libspudec/xine_decoder.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/libspudec/xine_decoder.c b/src/libspudec/xine_decoder.c index bdd19d9fe..46f4e21be 100644 --- a/src/libspudec/xine_decoder.c +++ b/src/libspudec/xine_decoder.c @@ -19,7 +19,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.13 2001/09/27 02:11:16 miguelfreitas Exp $ + * $Id: xine_decoder.c,v 1.14 2001/10/05 11:10:00 miguelfreitas Exp $ * * stuff needed to turn libspu into a xine decoder plugin */ @@ -238,7 +238,7 @@ static void spudec_event(spu_decoder_t *this_gen, spu_event_t *event) { this->ovl.color[i] = this->state.clut[but->color[i]]; this->ovl.trans[i] = but->trans[i]; } - + this->state.b_left = but->left; this->state.b_right = but->right; this->state.b_top = but->top; @@ -256,6 +256,11 @@ static void spudec_event(spu_decoder_t *this_gen, spu_event_t *event) { this->state.need_clut = 0; } break; + case XINE_UI_GET_SPU_LANG: + { + this->state.need_clut = 1; + } + break; } } -- cgit v1.2.3