[MPlayer-users] Re: disappearing subtitles at dvd chapter intervals

Tobias Diedrich ranma at gmx.at
Fri Mar 21 22:00:05 CET 2003


Robert Henney wrote:

> Corrention.  What I've been referring to as 'chapters' do not appear to be
> chapters, but something else entirely.  The /boundary/ that I had been assuming 
> was a chapter boundary was the counter on the mplayer status line; the value
> represented by the 'V'.  At the point when that value resets to "0.0" during 
> playback, that is where a subtitle fails to display. 
> 
>  A:  20.1 V:  20.1 A-V:  0.001 ct: -0.212  2745/2741  44% 17% 21.1% 0 0 0%%
>           ^^^^^^^^

Could you try if this patch prints any messages when subtitles go
missing?

Index: spudec.c
===================================================================
RCS file: /cvsroot/mplayer/main/spudec.c,v
retrieving revision 1.41
diff -u -r1.41 spudec.c
--- spudec.c	23 Feb 2003 22:05:35 -0000	1.41
+++ spudec.c	21 Mar 2003 21:09:17 -0000
@@ -581,6 +581,16 @@
 void spudec_heartbeat(void *this, unsigned int pts100)
 { 
   spudec_handle_t *spu = (spudec_handle_t*) this;
+  if (pts100 < spu->now_pts) {
+    mp_msg(MSGT_SPUDEC,MSGL_WARN,
+           "SPUheartbeat: Timewarp! Welcome in %d, traveler from %d.\n",
+           pts100, spu->now_pts);
+    if (spu->now_pts < spu->end_pts)
+      mp_msg(MSGT_SPUDEC,MSGL_WARN,
+             "Lost some subtitles on the way.\n");
+    else mp_msg(MSGT_SPUDEC,MSGL_WARN,
+                "Fear not, nothing is lost.\n");
+  }
   spu->now_pts = pts100;
 
   while (spu->queue_head != NULL && pts100 >= spu->queue_head->start_pts) {

-- 
Tobias								PGP: 0x9AC7E0BC
This mail is made of 100% recycled bits
np: aikawananase: Purana 02 - Trick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030321/c3284d6f/attachment.pgp>


More information about the MPlayer-users mailing list