client: change equality rules for MPV_FORMAT_NONE

This commit is contained in:
wm4 2014-04-09 20:27:26 +02:00
parent b23a1edf55
commit 217008be4a
1 changed files with 1 additions and 1 deletions

View File

@ -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;