From d26104351b65a212c03ec08679cb45a3aa2f0a32 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 6 Oct 2014 21:20:10 +0200 Subject: m_config: add function to copy all options Needed to copy the global option struct in the next commit. --- player/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'player/main.c') diff --git a/player/main.c b/player/main.c index c5b0bd2800..af1d3427dc 100644 --- a/player/main.c +++ b/player/main.c @@ -446,6 +446,9 @@ int mp_initialize(struct MPContext *mpctx) if (!mpctx->playlist->current) mpctx->playlist->current = mpctx->playlist->first; + //struct m_config *new = m_config_dup(NULL, mpctx->mconfig); + //talloc_free(new); + MP_STATS(mpctx, "end init"); return 0; -- cgit v1.2.3