summaryrefslogtreecommitdiffstats
path: root/player/javascript/defaults.js
diff options
context:
space:
mode:
authorNicolas F <ovdev@fratti.ch>2017-10-31 21:39:15 +0100
committerwm4 <wm4@nowhere>2017-12-01 21:13:48 +0100
commit2e24f5f1b5a39d00939d55343e3daad72687031b (patch)
treea8d44de96b6672fcd9634fe85a1735fba5907faa /player/javascript/defaults.js
parenteb8957cea110a9aa652894d8bb897a9b1ff91e0b (diff)
downloadmpv-2e24f5f1b5a39d00939d55343e3daad72687031b.tar.bz2
mpv-2e24f5f1b5a39d00939d55343e3daad72687031b.tar.xz
scripting: report dlerror() output
dlopen() and dlsym() can fail in various ways, and we can find out how it failed by calling dlerror(). This is particularly useful if you typo the filename of a script when explicitly passing it with --script, and dlopen actually tells you that the file doesn't exist instead of leading you down a rabbit hole of disassembling your shared object file to figure out why the thing won't load.
Diffstat (limited to 'player/javascript/defaults.js')
0 files changed, 0 insertions, 0 deletions