summaryrefslogtreecommitdiffstats
path: root/player/main.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-25 20:25:20 +0100
committerwm4 <wm4@nowhere>2019-11-25 20:29:43 +0100
commit7c6570402bb203a1f1deb5b76807a9c021f47e82 (patch)
tree3e1e8411dba9fe8469ca9c9aedddb6721b59cb33 /player/main.c
parent78bb1586d34bcd0cf89267d9447a9cef6ef29761 (diff)
downloadmpv-7c6570402bb203a1f1deb5b76807a9c021f47e82.tar.bz2
mpv-7c6570402bb203a1f1deb5b76807a9c021f47e82.tar.xz
options: remove options-to-property bridge
The previous bunch of commits made this unnecessary, so this should be a purely internal change with no user impact. This may or may not open the way to future improvements. Even if not, at least the property/option interaction should now be much less buggy.
Diffstat (limited to 'player/main.c')
-rw-r--r--player/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/player/main.c b/player/main.c
index d633871399..3f39dad04c 100644
--- a/player/main.c
+++ b/player/main.c
@@ -378,8 +378,6 @@ int mp_initialize(struct MPContext *mpctx, char **options)
// From this point on, all mpctx members are initialized.
mpctx->initialized = true;
- mpctx->mconfig->option_set_callback = mp_on_set_option;
- mpctx->mconfig->option_set_callback_cb = mpctx;
mpctx->mconfig->option_change_callback = mp_option_change_callback;
mpctx->mconfig->option_change_callback_ctx = mpctx;
// Run all update handlers.