GST_DEBUG_OBJECT(element,"Filename does not match requested suffix. Filename: \"%s\", FileSuffix:\"%s\", Desired Suffix: \"%s\"",element->name,fileSuffix,element->watch_suffix);
// if they are not the same, skip adding filename to queue
// go to done instead
g_free(fileSuffix);
GST_DEBUG_OBJECT(element,"Made it after freeing fileSuffix");
gotodone;
}
// if they are the same, free the char array and continue
g_free(fileSuffix);
}
// if space of events read is less that the size of available available events, read more.