[MPlayer-cvslog] r33509 - trunk/mpcommon.c
iive
subversion at mplayerhq.hu
Sat May 28 22:53:15 CEST 2011
Author: iive
Date: Sat May 28 22:53:14 2011
New Revision: 33509
Log:
Workaround embedded ssa/ass never hiding with -noass.
The subtitles are not parsed, thus endpts is always invalid.
Limit it to 4 seconds in that case.
Modified:
trunk/mpcommon.c
Modified: trunk/mpcommon.c
==============================================================================
--- trunk/mpcommon.c Sat May 28 13:08:48 2011 (r33508)
+++ trunk/mpcommon.c Sat May 28 22:53:14 2011 (r33509)
@@ -272,6 +272,7 @@ void update_subtitles(sh_video_t *sh_vid
len -= p - packet;
packet = p;
}
+ if (endpts == MP_NOPTS_VALUE) endpts = subpts + 4;
sub_add_text(&subs, packet, len, endpts, 1);
set_osd_subtitle(&subs);
}
More information about the MPlayer-cvslog
mailing list