summaryrefslogtreecommitdiffstats
path: root/spudec.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-06-19 13:50:50 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-06-19 13:50:50 +0000
commitc4e64232fde6a8b075c1db7cb4f4e9de0882cef8 (patch)
treeffe1b1589f50d3cf607c6c930d6137609aebc6c6 /spudec.c
parent8aa19f12a0312627fb5234c8680007a302fd2569 (diff)
downloadmpv-c4e64232fde6a8b075c1db7cb4f4e9de0882cef8.tar.bz2
mpv-c4e64232fde6a8b075c1db7cb4f4e9de0882cef8.tar.xz
Fix some subtitles that didn't show.
Sample: http://mplayerhq.hu/MPlayer/samples/sub/starwarssub2.vob git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15762 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'spudec.c')
-rw-r--r--spudec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/spudec.c b/spudec.c
index ec907fb805..6b10e5ffa0 100644
--- a/spudec.c
+++ b/spudec.c
@@ -503,10 +503,12 @@ void spudec_assemble(void *this, unsigned char *packet, unsigned int len, unsign
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);