mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
videotestsrc: small cleanups
This commit is contained in:
parent
97567606e2
commit
b43121e061
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue