From bccc6d1326e5757221ed372917222a134b7a61bb Mon Sep 17 00:00:00 2001 From: Francois Cartegnie Date: Thu, 6 Jul 2017 13:11:18 +0200 Subject: [PATCH] codec: spudec: force osd start time for forced spu overlays workarounds invisible overlay menus/highlight refs #5055 --- modules/codec/spudec/parse.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/codec/spudec/parse.c b/modules/codec/spudec/parse.c index 9ea200ff49..0db3b4deb7 100644 --- a/modules/codec/spudec/parse.c +++ b/modules/codec/spudec/parse.c @@ -238,6 +238,10 @@ static int ParseControlSeq( decoder_t *p_dec, subpicture_t *p_spu, case SPU_CMD_FORCE_DISPLAY: /* 00 (force displaying) */ p_spu->i_start = i_pts + date; p_spu->b_ephemer = true; + /* ignores picture date as display start time + * works around non displayable (offset by few ms) + * spu menu over still frame in SPU_Select */ + p_spu->b_subtitle = false; i_index += 1; break; -- 2.11.4.GIT