1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00
mpv/options
wm4 082b1cdeaa m_property: allow setting string properties via M_PROPERTY_SET_STRING
Setting string options to strings over the m_option fallback (i.e.
M_PROPERTY_SET_STRING is called if the option type is CONF_TYPE_STRING)
failed. This was because m_option_parse() returns 0. 0 still means
success, but the property code tried to be clever, and considered 0 not
a success in order to disallow setting flags to an emtpy string (which
in turn is allowed, because the command line allows flag options without
parameters).

Fix this by removing the overly clever code.

This could happen when e.g. using the "set" command on options/title (a
string option), and also was a problem for the client API.

Closes #610.
2014-03-03 12:48:41 +01:00
..
m_config.c options: fix --list-options output 2014-02-26 21:03:35 +01:00
m_config.h command: make options property return the list of all options 2014-02-24 22:50:24 +01:00
m_option.c m_option: make converting mpv_node to string always fail 2014-02-26 22:30:18 +01:00
m_option.h options: allow changing options at runtime 2014-02-25 23:59:27 +01:00
m_property.c m_property: allow setting string properties via M_PROPERTY_SET_STRING 2014-03-03 12:48:41 +01:00
m_property.h m_property: add mechanism to access properties as mpv_node 2014-02-24 22:50:23 +01:00
options.c sd_ass: add a very simple and evil way to override ASS subtitle styles 2014-03-01 02:18:03 +01:00
options.h msg: add --msgtime option to add timestamps to each output message 2014-02-28 22:45:34 +01:00
parse_commandline.c msg: move special declarations to msg_control.h 2014-01-16 23:06:40 +01:00
parse_commandline.h msg: remove global state 2013-12-21 23:11:12 +01:00
parse_configfile.c options: some more mp_msg conversions 2013-12-21 21:43:16 +01:00
parse_configfile.h
path.c config: fix --config-dir logic for global config files 2014-02-28 21:32:00 +01:00
path.h path: add function to split URL into prefix and path 2013-12-22 23:25:10 +01:00