diff options
author | wm4 <wm4@nowhere> | 2012-08-02 02:26:55 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-08-02 02:37:00 +0200 |
commit | c7a15ed0ddf56b80a962a6aeb5da7981472ceaf2 (patch) | |
tree | 58ab8b6dcd25dfdf7e5f1aad4ea8cf818206d01e /mplayer.c | |
parent | 16c6e1dee98b049c17fd262742839c0fde3ce7ed (diff) | |
download | mpv-c7a15ed0ddf56b80a962a6aeb5da7981472ceaf2.tar.bz2 mpv-c7a15ed0ddf56b80a962a6aeb5da7981472ceaf2.tar.xz |
m_config: reallow specifying static default values for string options
Commit dc2a4863af9b0e introduced a new way of specifying default values
for strings (you're supposed to use OPTDEF_STR() instead of putting it
into the option struct, such as it was done in defaultopts.c). The code
to handle the old way was explicitly disabled, which caused random
crashes when used.
Allow the old way again. With the main option struct in particular, I
see no reason why some option defaults should be specified in
defaultopts.c, and some directly along the options.
Diffstat (limited to 'mplayer.c')
0 files changed, 0 insertions, 0 deletions