validate: media-descriptor: fix trivial spelling mistakes

replace comparse_stream with compare_streams

https://bugzilla.gnome.org/show_bug.cgi?id=748390
This commit is contained in:
Vineeth TM 2015-07-22 16:07:19 +09:00 committed by Nicolas Dufresne
parent c91ed016b1
commit f020c41d41

View file

@ -287,7 +287,7 @@ compare_tags (GstMediaDescriptor * ref, StreamNode * rstream,
/* Return -1 if not found 1 if OK 0 if an error occured */ /* Return -1 if not found 1 if OK 0 if an error occured */
static gint static gint
comparse_stream (GstMediaDescriptor * ref, StreamNode * rstream, compare_streams (GstMediaDescriptor * ref, StreamNode * rstream,
StreamNode * cstream) StreamNode * cstream)
{ {
if (g_strcmp0 (rstream->id, cstream->id) == 0) { if (g_strcmp0 (rstream->id, cstream->id) == 0) {
@ -349,7 +349,7 @@ gst_media_descriptors_compare (GstMediaDescriptor * ref,
for (cstream_list = cfilenode->streams; cstream_list; for (cstream_list = cfilenode->streams; cstream_list;
cstream_list = cstream_list->next) { cstream_list = cstream_list->next) {
sfound = comparse_stream (ref, rstream_list->data, cstream_list->data); sfound = compare_streams (ref, rstream_list->data, cstream_list->data);
if (sfound == 0) { if (sfound == 0) {
return FALSE; return FALSE;
} else if (sfound == 1) { } else if (sfound == 1) {