mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
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:
parent
c91ed016b1
commit
f020c41d41
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue