diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-05-07 19:26:12 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-05-07 19:44:58 +0300 |
commit | daafc5a368266dc2206b7da0c107b98e0ca042d6 (patch) | |
tree | acd9c120329b97ac4f764319251374a6fc17229d /etc/mplayer.desktop | |
parent | b68f9fef32971095836ea6bbeb2f12af417120d2 (diff) | |
download | mpv-daafc5a368266dc2206b7da0c107b98e0ca042d6.tar.bz2 mpv-daafc5a368266dc2206b7da0c107b98e0ca042d6.tar.xz |
options: fix -profile parsing after 2db33ab48c
Commit 2db33ab48cfa785 ("options: support string list separators other
than ','") started using the "priv" field in options of string list
type to store the separator character. However, the "profile" option
has a custom type which uses the same parsing function but uses the
"priv" field for another purpose. As a result "-profile" parsing used
a "random" character as the separator instead of ','; at least uses
which depended on ',' working were likely to fail, and if the
separator used happened to be a character occurring in the profile
name then any use of -profile could break. Fix by adding a check in
the parsing function to only read the priv field if the option type is
normal string list.
Diffstat (limited to 'etc/mplayer.desktop')
0 files changed, 0 insertions, 0 deletions