[MPlayer-cvslog] r37814 - trunk/sub/ass_mp.c
reimar
subversion at mplayerhq.hu
Fri Feb 26 22:17:53 CET 2016
Author: reimar
Date: Fri Feb 26 22:17:52 2016
New Revision: 37814
Log:
ass_mp: Fix subdelay applied inverted.
Fixes trac issue #2286.
Modified:
trunk/sub/ass_mp.c
Modified: trunk/sub/ass_mp.c
==============================================================================
--- trunk/sub/ass_mp.c Fri Feb 26 22:14:48 2016 (r37813)
+++ trunk/sub/ass_mp.c Fri Feb 26 22:17:52 2016 (r37814)
@@ -332,7 +332,7 @@ static int prev_visibility;
static void eosd_ass_update(struct mp_eosd_source *src, const struct mp_eosd_settings *res, double ts)
{
- long long ts_ms = (ts + sub_delay) * 1000 + .5;
+ long long ts_ms = (ts - sub_delay) * 1000 + .5;
ASS_Image *aimg;
struct mp_eosd_image *img;
if (res->changed || !src->initialized || ass_force_reload) {
More information about the MPlayer-cvslog
mailing list