Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
81a758a3
Commit
81a758a3
authored
Jun 27, 2008
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use strcasestr in input_MetaMatch too, so search is really case insensitive.
parent
23d1d36b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/vlc_input.h
include/vlc_input.h
+2
-2
No files found.
include/vlc_input.h
View file @
81a758a3
...
...
@@ -31,7 +31,7 @@
#include <vlc_epg.h>
#include <vlc_events.h>
#include <string.h>
/* strstr() */
#include <string.h>
/* str
case
str() */
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
&&
str
case
str
(
meta
,
psz
);
vlc_mutex_unlock
(
&
p_i
->
lock
);
return
ret
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment