summaryrefslogtreecommitdiffstats
path: root/player/sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/sub.c')
-rw-r--r--player/sub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/sub.c b/player/sub.c
index ceef81b319..ba8f7d70eb 100644
--- a/player/sub.c
+++ b/player/sub.c
@@ -185,7 +185,7 @@ void reinit_subs(struct MPContext *mpctx)
if (!sh->sub->dec_sub) {
assert(!mpctx->d_sub);
- sh->sub->dec_sub = sub_create(opts);
+ sh->sub->dec_sub = sub_create(mpctx->global);
}
assert(!mpctx->d_sub || sh->sub->dec_sub == mpctx->d_sub);