summaryrefslogtreecommitdiffstats
path: root/mpvcore/player/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/player/main.c')
-rw-r--r--mpvcore/player/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpvcore/player/main.c b/mpvcore/player/main.c
index 81e724252d..528076bc57 100644
--- a/mpvcore/player/main.c
+++ b/mpvcore/player/main.c
@@ -316,6 +316,7 @@ static int mpv_main(int argc, char *argv[])
mpctx->opts = mpctx->mconfig->optstruct;
mpctx->mconfig->includefunc = cfg_include;
mpctx->mconfig->use_profiles = true;
+ mpctx->mconfig->is_toplevel = true;
struct MPOpts *opts = mpctx->opts;