mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
tests: fix g_mkdtemp presence check in multifile tests
g_mkdtemp was added in glib 2.30 even though the doc claims it was added in 2.26.
This commit is contained in:
parent
ed98755241
commit
5cc1c6c897
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ run_pipeline (GstElement * pipeline)
|
|||
gst_element_set_state (pipeline, GST_STATE_NULL);
|
||||
}
|
||||
|
||||
#if !GLIB_CHECK_VERSION(2,26,0)
|
||||
#if !GLIB_CHECK_VERSION(2,30,0)
|
||||
static gchar *
|
||||
g_mkdtemp (gchar * template)
|
||||
{
|
||||
|
@ -145,6 +145,7 @@ GST_START_TEST (test_multifilesink_max_files)
|
|||
g_free (mfs_pattern);
|
||||
g_free (my_tmpdir);
|
||||
}
|
||||
|
||||
GST_END_TEST;
|
||||
|
||||
GST_START_TEST (test_multifilesink_key_unit)
|
||||
|
@ -200,7 +201,6 @@ GST_START_TEST (test_multifilesink_key_unit)
|
|||
|
||||
g_free (mfs_pattern);
|
||||
g_free (my_tmpdir);
|
||||
g_free (template);
|
||||
gst_object_unref (sink);
|
||||
gst_object_unref (mfs);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue