diff options
author | wm4 <wm4@nowhere> | 2013-07-27 21:27:08 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-28 18:56:09 +0200 |
commit | 85bee4f071d3506d4fe39dff45bd319d263663f0 (patch) | |
tree | 18c9a7a28d78134a1814a6d4c77763e51127ec01 /stream | |
parent | c070fa865fcf75cace05bf492a68f6a2c6137fb3 (diff) | |
download | mpv-85bee4f071d3506d4fe39dff45bd319d263663f0.tar.bz2 mpv-85bee4f071d3506d4fe39dff45bd319d263663f0.tar.xz |
options: print default values in --list-options
Do this by recreating the m_config from scratch, which then must
contain the default values. This doesn't quite work with legacy options
using global variables: the default values get lost, so using
--list-options will print the value as set by the config file. This
also introduces a memory leak for string options backed by global
variables. All of these issues will be eventually fixed by moving all
options to structs.
Diffstat (limited to 'stream')
0 files changed, 0 insertions, 0 deletions