summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-10-22 16:39:24 +0200
committerwm4 <wm4@nowhere>2016-10-22 16:39:24 +0200
commit1bf474e19afac869f643de0f51befdaed2872d23 (patch)
tree8a21e4db6f01850fed063c4ca0265a6bfbc74cf4 /demux
parentbf5c4c42fa4366b707234e8feb5036ca3c03f056 (diff)
downloadmpv-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 'demux')
0 files changed, 0 insertions, 0 deletions