mirror of
https://github.com/mpv-player/mpv
synced 2024-10-18 10:25:02 +02:00
use dvdnav's palette if available
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21555 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
266f5de2bb
commit
14dc3c4f29
@ -1052,8 +1052,9 @@ void init_vo_spudec(void) {
|
||||
|
||||
#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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user