summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-12 04:54:34 +0100
committerwm4 <wm4@nowhere>2015-01-12 04:57:56 +0100
commit3f3e1547ba6db29d626c0008f2e52bfd971327be (patch)
tree082a663dc8af62b8da7dfbd2e50ef12600db5387 /video
parentf3a978cd17157ef98528945d89209b43ae41099e (diff)
downloadmpv-3f3e1547ba6db29d626c0008f2e52bfd971327be.tar.bz2
mpv-3f3e1547ba6db29d626c0008f2e52bfd971327be.tar.xz
player: change --display-tags behavior
Remove the "all" special-behavior, and instead interpret trailing "*" characters. --display-tags=all is replaced by --display-tags=* as a special-case of the new behavior. See #1404. Note that the most straight-forward value for matchlen in the normal case would be INT_MAX, because it should be using the entire string. I used keylen+1 instead, because glibc seems to handle this case incorrectly: snprintf(buf, sizeof(buf), "%.*s", INT_MAX, "hello"); The result is empty, instead of just containing the string argument. This might be a glibc bug; it works with other libcs (even MinGW-w64).
Diffstat (limited to 'video')
0 files changed, 0 insertions, 0 deletions