# HG changeset patch # User nicodvb # Date 1165692252 0 # Node ID ad7616b015603d3b1f3851d3d17892865341751b # Parent c9b6588932b597bd39ef7590b737fff5482a7074 use dvdnav's palette if available diff -r c9b6588932b5 -r ad7616b01560 mplayer.c --- a/mplayer.c Sat Dec 09 19:23:35 2006 +0000 +++ b/mplayer.c Sat Dec 09 19:24:12 2006 +0000 @@ -1052,8 +1052,9 @@ #ifdef USE_DVDNAV if (vo_spudec==NULL && stream->type==STREAMTYPE_DVDNAV) { + unsigned int *palette = mp_dvdnav_get_spu_clut(stream); current_module="spudec_init_dvdnav"; - vo_spudec=spudec_new_scaled(NULL, sh_video->disp_w, sh_video->disp_h); + vo_spudec=spudec_new_scaled(palette, sh_video->disp_w, sh_video->disp_h); } #endif