summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-06 21:20:10 +0200
committerwm4 <wm4@nowhere>2014-10-06 21:49:26 +0200
commitd26104351b65a212c03ec08679cb45a3aa2f0a32 (patch)
tree6bbdde0b14316cf090924947dd98d6193bcd4634 /player
parentf440c0626e9159945cc8974f0a7b0ea46d1c8510 (diff)
downloadmpv-d26104351b65a212c03ec08679cb45a3aa2f0a32.tar.bz2
mpv-d26104351b65a212c03ec08679cb45a3aa2f0a32.tar.xz
m_config: add function to copy all options
Needed to copy the global option struct in the next commit.
Diffstat (limited to 'player')
-rw-r--r--player/main.c3
1 files changed, 3 insertions, 0 deletions
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;