Commit 81a758a3 authored by Ilkka Ollakka's avatar Ilkka Ollakka

use strcasestr in input_MetaMatch too, so search is really case insensitive.

parent 23d1d36b
......@@ -31,7 +31,7 @@
#include <vlc_epg.h>
#include <vlc_events.h>
#include <string.h> /* strstr() */
#include <string.h> /* strcasestr() */
struct vlc_meta_t;
......@@ -169,7 +169,7 @@ static inline bool input_item_MetaMatch( input_item_t *p_i, vlc_meta_type_t meta
return false;
}
const char * meta = vlc_meta_Get( p_i->p_meta, meta_type );
bool ret = meta && strstr( meta, psz );
bool ret = meta && strcasestr( meta, psz );
vlc_mutex_unlock( &p_i->lock );
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment