[MPlayer-users] DVD audio and subtitle problems

Arpi arpi at thot.banki.hu
Thu Aug 29 00:44:02 CEST 2002


Hi,

try this patch, a bit old and was refused by me but it may help you out:

--- MPlayer-0.90pre5/spudec.c.orig      Wed May 29 21:27:06 2002
+++ MPlayer-0.90pre5/spudec.c   Thu Jun 13 20:52:03 2002
@@ -448,7 +448,8 @@
 #if 1
   // check if we have a complete packet (unfortunatelly packet_size is bad
   // for some disks)
-  if (spu->packet_offset == spu->packet_size){
+//  if (spu->packet_offset == spu->packet_size){
+  {
     unsigned int x=0,y;
     while(x+4<=spu->packet_offset){
       y=get_be16(spu->packet+x+2); // next control pointer
@@ -469,7 +470,8 @@
     }
   }
 #else
-  if (spu->packet_offset == spu->packet_size) {
+//  if (spu->packet_offset == spu->packet_size) {
+  {
     spudec_decode(spu, pts100);
     spu->packet_offset = 0;
   }


> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Am Montag, 26. August 2002 21.49 schrieb Christof Buergi:
> > Am Sonntag, 25. August 2002 19.19 schrieb Jonas Jermann:
> > > mpdvdkit2 was added recently check this (cvs update). It's based
> > > on the most recent libdvdread/libdvdcss and contains some
> > > patches (key caching).
> 
> Didn't solve the problem. Still got subtitle dropouts. A quick check 
> with libdvdread instead of mpdvdkit2 later, I know, that this is *not* 
> mpdvdkit's fault. The bug must be somewhere in the subtitle code, since 
> everything works great with ogle, which uses the very same libdvdread 
> code after all.
> 
> Well guess I have to guess harder. ;-) Will be looking a bit around in 
> the code, as soon as I get the time.
> 
> -- 
>                      _ ___      http://www.p2501.ch/             / \
> |/  /\   /\   /\  | \   |  |    christof at buergi.lugs.ch          \ /
> |\ /--\ /  \ /  \ | /_  |  |    I'm breaking for DAUs, too!       x
>                                 Say NO to HTML in mail and news  / \
> 
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
> 
> 


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list