From 7562937d959ec617d4f78fd6d06aed7164b22255 Mon Sep 17 00:00:00 2001 From: albeu Date: Fri, 17 May 2002 23:47:27 +0000 Subject: Improvment for spu subtitles. Removed the integreted spudec in vobsub. Various cleanup/bugfix in vobsub (no more auto palette when a true one is here) HW spu rendering moved in spudec because we first need to reassable the packet before sending them to the hw. Spudec is now created only if nedded. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6111 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mencoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mencoder.c') diff --git a/mencoder.c b/mencoder.c index 3efac12a0d..a5440f28c1 100644 --- a/mencoder.c +++ b/mencoder.c @@ -508,7 +508,7 @@ if(sh_audio && (out_audio_codec || seek_to_sec || !sh_audio->wf)){ if (spudec_ifo) { unsigned int palette[16], width, height; - if (vobsub_parse_ifo(spudec_ifo, palette, &width, &height, 1) >= 0) + if (vobsub_parse_ifo(NULL,spudec_ifo, palette, &width, &height, 1) >= 0) vo_spudec=spudec_new_scaled(palette, sh_video->disp_w, sh_video->disp_h); } #ifdef USE_DVDREAD -- cgit v1.2.3