[MPlayer-cvslog] r21555 - trunk/mplayer.c

nicodvb subversion at mplayerhq.hu
Sat Dec 9 20:24:13 CET 2006


Author: nicodvb
Date: Sat Dec  9 20:24:12 2006
New Revision: 21555

Modified:
   trunk/mplayer.c

Log:
use dvdnav's palette if available

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Sat Dec  9 20:24:12 2006
@@ -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
 



More information about the MPlayer-cvslog mailing list