mpv/options
wm4 924d4db0de options: change --sub-file behavior
--sub-file is actually a string list, so you can add multipel external
subtitle files. But to be able to set a list, the option value was split
on ",". This made it impossible to add filenames.

One possible solution would be adding escaping. That's probably a good
idea (and some other options already do this), but it's also complicated
both to implement and for the user.

The simpler solution is making --sub-file appending, and make it take
only a single entry.

I'm not quite sure about this yet. It breaks the invariant that if a
value is printed and parsed, you get the same value back. So for now,
just go with the simple solution.

Fixes #840.
2014-06-08 00:03:45 +02:00
..
m_config.c cache: redo options and default settings 2014-05-20 02:40:22 +02:00
m_config.h options: unify code for setting string and "raw" options 2014-05-18 19:21:39 +02:00
m_option.c options: change --sub-file behavior 2014-06-08 00:03:45 +02:00
m_option.h options: change --sub-file behavior 2014-06-08 00:03:45 +02:00
m_property.c command: remove extended information from --list-properties 2014-04-11 01:27:57 +02:00
m_property.h command: add helper function to split property paths 2014-03-30 13:41:03 +02:00
options.c options: change --sub-file behavior 2014-06-08 00:03:45 +02:00
options.h player: write file name to the watch later config file 2014-06-01 19:55:45 +02:00
parse_commandline.c options: fix "-" (stdin) input 2014-05-06 01:06:07 +02:00
parse_commandline.h
parse_configfile.c options: let unknown option case be handled by final option parser 2014-05-05 23:55:47 +02:00
parse_configfile.h encode: don't apply default config options 2014-04-19 22:05:17 +02:00
path.c config: fix --config-dir logic for global config files 2014-02-28 21:32:00 +01:00
path.h