mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 01:22:30 +00:00
client: change equality rules for MPV_FORMAT_NONE
This commit is contained in:
parent
b23a1edf55
commit
217008be4a
@ -568,7 +568,7 @@ static bool compare_value(void *a, void *b, mpv_format format)
|
||||
{
|
||||
switch (format) {
|
||||
case MPV_FORMAT_NONE:
|
||||
return false;
|
||||
return true;
|
||||
case MPV_FORMAT_STRING:
|
||||
case MPV_FORMAT_OSD_STRING:
|
||||
return strcmp(*(char **)a, *(char **)b) == 0;
|
||||
|
Loading…
Reference in New Issue
Block a user