summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/video.c')
-rw-r--r--player/video.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/player/video.c b/player/video.c
index 21babe016e..7a76f4dc8e 100644
--- a/player/video.c
+++ b/player/video.c
@@ -482,6 +482,9 @@ int reinit_video_chain_src(struct MPContext *mpctx, struct lavfi_pad *src)
update_window_title(mpctx, true);
+ // Undo what the subtitle path does if mpctx->vo_chain is unset.
+ osd_set_force_video_pts(mpctx->osd, MP_NOPTS_VALUE);
+
struct vo_chain *vo_c = talloc_zero(NULL, struct vo_chain);
mpctx->vo_chain = vo_c;
vo_c->log = mpctx->log;