[MPlayer-cvslog] CVS: main spudec.c,1.45,1.46
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Sun Jun 19 15:50:52 CEST 2005
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv12383
Modified Files:
spudec.c
Log Message:
Fix some subtitles that didn't show.
Sample: http://mplayerhq.hu/MPlayer/samples/sub/starwarssub2.vob
Index: spudec.c
===================================================================
RCS file: /cvsroot/mplayer/main/spudec.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- spudec.c 8 Jan 2005 21:06:04 -0000 1.45
+++ spudec.c 19 Jun 2005 13:50:50 -0000 1.46
@@ -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-cvslog
mailing list