summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-09-20 01:41:45 +0200
committerwm4 <wm4@nowhere>2012-09-23 14:58:56 +0200
commit397eb9364b83ede4c4f82f52dff8ed1ecb414338 (patch)
tree5502ae6dd6fc7b35a2fd9a227723acd786f3aa52 /libmpdemux
parentbfc3dbae88dc70a832e82c5b44474fdf5a5e65a5 (diff)
downloadmpv-397eb9364b83ede4c4f82f52dff8ed1ecb414338.tar.bz2
mpv-397eb9364b83ede4c4f82f52dff8ed1ecb414338.tar.xz
options: handle alias options differently
When setting an alias option, its value is not saved in the file-local options case. The ensure_backup function in m_config.c exits if it encounters an aliased option, because it should not be saved additionally to the original option. However, the original option is likely never saved in this case. Change it so that ensure_backup always accesses the original option. The original option is the one that first appears in the option list.
Diffstat (limited to 'libmpdemux')
0 files changed, 0 insertions, 0 deletions