mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
gst-launch: Use g_file_test() instead of access() which does not exist on MSVC6
Fixes bug #629494.
This commit is contained in:
parent
0447e72c97
commit
748433776a
1 changed files with 1 additions and 1 deletions
|
@ -695,7 +695,7 @@ bus_sync_handler (GstBus * bus, GstMessage * message, gpointer data)
|
|||
{
|
||||
gchar *access_name = g_strconcat (g_get_tmp_dir (), G_DIR_SEPARATOR_S,
|
||||
"gst-launch", G_DIR_SEPARATOR_S, state_transition_name, NULL);
|
||||
access (access_name, R_OK);
|
||||
g_file_test (access_name, G_FILE_TEST_EXISTS);
|
||||
g_free (access_name);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue