diff options
author | wm4 <wm4@nowhere> | 2016-10-22 16:39:24 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-10-22 16:39:24 +0200 |
commit | 1bf474e19afac869f643de0f51befdaed2872d23 (patch) | |
tree | 8a21e4db6f01850fed063c4ca0265a6bfbc74cf4 /osdep/threads.h | |
parent | bf5c4c42fa4366b707234e8feb5036ca3c03f056 (diff) | |
download | mpv-1bf474e19afac869f643de0f51befdaed2872d23.tar.bz2 mpv-1bf474e19afac869f643de0f51befdaed2872d23.tar.xz |
options: make --load-scripts runtime changeable
Just that actually changing it at runtime won't do anything.
This deals with a nasty initialization order issue with encoding.
Encoding is initialized after options have initialized, but before
--load-scripts is checked and executed. Encoding initialization accesses
FFmpeg API, thus it has to run after FFmpeg is initialized (which also
implies it's initialized after options/logging init). On the other hand,
it sets the encoding builtin profile, which possibly sets --load-scripts
to "no". That failed at this point because --load-scripts was marked as
fixed.
Just marking it as not fixed gets rid of the headache, even if it's not
perfectly orthodox.
Diffstat (limited to 'osdep/threads.h')
0 files changed, 0 insertions, 0 deletions