summaryrefslogtreecommitdiff
path: root/src/libspudec/spu.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-10-23 00:50:47 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2001-10-23 00:50:47 +0000
commit73d7ceb64eac7c92e76b5c815b74bef35a73691e (patch)
tree668406f958406c6b236826fe2d2aadb21b1d31c7 /src/libspudec/spu.c
parentc5e27f4d608a79be8aab54402cf7d9652cea17d1 (diff)
downloadxine-lib-73d7ceb64eac7c92e76b5c815b74bef35a73691e.tar.gz
xine-lib-73d7ceb64eac7c92e76b5c815b74bef35a73691e.tar.bz2
discover clut reenabled
CVS patchset: 863 CVS date: 2001/10/23 00:50:47
Diffstat (limited to 'src/libspudec/spu.c')
-rw-r--r--src/libspudec/spu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libspudec/spu.c b/src/libspudec/spu.c
index fa4c95085..1ab34e62c 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.17 2001/10/21 15:04:13 jcdutton Exp $
+ * $Id: spu.c,v 1.18 2001/10/23 00:50:47 miguelfreitas Exp $
*
*/
@@ -171,11 +171,11 @@ void spu_do_commands(spu_state_t *state, spu_seq_t* seq, vo_overlay_t *ovl)
case CMD_SPU_SET_PALETTE: { /* CLUT */
spu_clut_t *clut = (spu_clut_t *) (buf+1);
-/* state->cur_colors[3] = clut->entry0;
+ state->cur_colors[3] = clut->entry0;
state->cur_colors[2] = clut->entry1;
state->cur_colors[1] = clut->entry2;
state->cur_colors[0] = clut->entry3;
- */
+
/* This is a bit out of context for now */
ovl->color[3] = state->clut[clut->entry0];
ovl->color[2] = state->clut[clut->entry1];
@@ -380,7 +380,7 @@ void spu_draw_picture (spu_state_t *state, spu_seq_t* seq, vo_overlay_t *ovl)
border1-border2-fg-border2-border1.
MINFOUND is the number of ocurrences threshold.
*/
-#define MINFOUND 25
+#define MINFOUND 20
void spu_discover_clut(spu_state_t *state, vo_overlay_t *ovl)
{
int bg,c;