[MPlayer-users] Strange Subtitle Problem (Star Wars DVD)

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Jun 16 20:15:20 CEST 2005


Hi,
On Thu, Jun 16, 2005 at 11:11:57AM +0200, Alexander Roalter wrote:
> There should still be a file starwarssub2.vob in the incoming ftp 
> directory accompanied by a text file describing this problem. The 
> problem occurs with all the relases of mplayer so far (at least these 
> releases with built-in support for VOB subtitles ;-)

Attached patch fixes it, but I don't know what it breaks (I own only one
DVD, and that one (unfortunately *g*) is perfectly mastered in every
aspect, so extremely bad for testing).

Greetings,
Reimar Döffinger
-------------- next part --------------
--- spudec.c	2005-01-22 01:41:35.000000000 +0100
+++ spudec.c	2005-06-16 20:07:44.000000000 +0200
@@ -503,10 +503,12 @@
       mp_msg(MSGT_SPUDEC,MSGL_WARN,"SPUasm: packet too short\n");
       return;
   }
+#if 0
   if ((spu->packet_pts + 10000) < pts100) {
     // [cb] too long since last fragment: force new packet
     spu->packet_offset = 0;
   }
+#endif
   spu->packet_pts = pts100;
   if (spu->packet_offset == 0) {
     unsigned int len2 = get_be16(packet);


More information about the MPlayer-users mailing list