projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9756760
)
videotestsrc: small cleanups
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 21 Jun 2011 10:52:23 +0000
(12:52 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 21 Jun 2011 10:52:23 +0000
(12:52 +0200)
gst/videotestsrc/videotestsrc.c
patch
|
blob
|
history
diff --git
a/gst/videotestsrc/videotestsrc.c
b/gst/videotestsrc/videotestsrc.c
index
9089cb1
..
8a589b7
100644
(file)
--- a/
gst/videotestsrc/videotestsrc.c
+++ b/
gst/videotestsrc/videotestsrc.c
@@
-361,7
+361,7
@@
paintrect_find_format (const gchar * find_format)
int i;
for (i = 0; i < n_formats; i++) {
- if (
strcmp (find_format, format_list[i].format) == 0
) {
+ if (
g_str_equal (find_format, format_list[i].format)
) {
return format_list + i;
}
}
@@
-374,7
+374,7
@@
paintrect_find_name (const char *name)
int i;
for (i = 0; i < n_formats; i++) {
- if (
strcmp (name, format_list[i].name) == 0
) {
+ if (
g_str_equal (name, format_list[i].name)
) {
return format_list + i;
}
}