0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/common
wm4 3f3e1547ba 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).
2015-01-12 04:57:56 +01:00
..
av_common.c player: use libavutil API to get number of CPUs 2015-01-05 12:34:34 +01:00
av_common.h player: print used number of threads in verbose mode 2015-01-05 12:17:55 +01:00
av_log.c av_log: add tons of warnings against mismatched ffmpeg/libav libraries 2014-02-10 23:28:10 +01:00
av_log.h av_log: mp_msg conversion 2013-12-21 21:43:16 +01:00
codecs.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
codecs.h codecs: mp_msg conversion 2013-12-21 20:50:12 +01:00
common.c Do not call strerror() 2014-11-26 21:21:56 +01:00
common.h Do not call strerror() 2014-11-26 21:21:56 +01:00
encode_lavc.c Silence some Coverity warnings 2014-11-21 09:59:58 +01:00
encode_lavc.h encode: make option struct local 2014-06-11 02:05:07 +02:00
encode.h encode: make option struct local 2014-06-11 02:05:07 +02:00
global.h stream: redo playback abort handling 2014-09-13 16:09:51 +02:00
msg_control.h command: make the "run" command work on Windows too 2015-01-01 20:37:49 +01:00
msg.c command: make the "run" command work on Windows too 2015-01-01 20:37:49 +01:00
msg.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
playlist.c player: deal with some corner cases with playlist navigation 2014-09-09 01:23:10 +02:00
playlist.h player: deal with some corner cases with playlist navigation 2014-09-09 01:23:10 +02:00
tags.c player: change --display-tags behavior 2015-01-12 04:57:56 +01:00
tags.h player: filter tags, add --display-tags option 2014-12-29 22:51:18 +01:00
version.c common: fix version variable declarations 2014-11-02 17:38:07 +01:00