}
g_return_val_if_fail (en, NULL);
- return g_strdup (en->value_name);
+ return g_strdup (en->value_nick);
}
static gint
str = gst_structure_to_string (s);
GST_LOG ("Got structure string '%s'", GST_STR_NULL (str));
fail_unless (str != NULL);
- fail_unless (strstr (str, "TIME") != NULL);
- fail_unless (strstr (str, "BYTE") != NULL);
- fail_unless (strstr (str, "DEFAULT") != NULL);
+ fail_unless (strstr (str, "time") != NULL);
+ fail_unless (strstr (str, "byte") != NULL);
+ fail_unless (strstr (str, "default") != NULL);
fail_unless (strstr (str, "FOOBAR") != NULL);
s2 = gst_structure_from_string (str, &end);