mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
validate: let structs_from_filename be exported.
Summary: It is useful for plugins too Reviewers: Mathieu_Du Differential Revision: http://phabricator.freedesktop.org/D74
This commit is contained in:
parent
0159c96ab0
commit
23bb7dfdcc
4 changed files with 4 additions and 4 deletions
|
@ -307,7 +307,7 @@ static gboolean
|
|||
_load_text_override_file (const gchar * filename)
|
||||
{
|
||||
gint ret = OK;
|
||||
GList *structs = structs_parse_from_filename (filename);
|
||||
GList *structs = gst_validate_utils_structs_parse_from_filename (filename);
|
||||
|
||||
if (structs) {
|
||||
GList *tmp;
|
||||
|
|
|
@ -1830,7 +1830,7 @@ _load_scenario_file (GstValidateScenario * scenario,
|
|||
|
||||
*is_config = FALSE;
|
||||
|
||||
structures = structs_parse_from_filename (scenario_file);
|
||||
structures = gst_validate_utils_structs_parse_from_filename (scenario_file);
|
||||
if (structures == NULL)
|
||||
goto failed;
|
||||
|
||||
|
|
|
@ -633,7 +633,7 @@ failed:
|
|||
}
|
||||
|
||||
GList *
|
||||
structs_parse_from_filename (const gchar * scenario_file)
|
||||
gst_validate_utils_structs_parse_from_filename (const gchar * scenario_file)
|
||||
{
|
||||
gchar **lines;
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ gboolean gst_validate_utils_enum_from_str (GType type,
|
|||
const gchar * str_enum,
|
||||
guint * enum_value);
|
||||
|
||||
GList * structs_parse_from_filename (const gchar * scenario_file);
|
||||
GList * gst_validate_utils_structs_parse_from_filename (const gchar * scenario_file);
|
||||
GList * structs_parse_from_gfile (GFile * scenario_file);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue