mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
tests: don't use deprecated thread API in streamsynchronizer test
This commit is contained in:
parent
f704b3f975
commit
804959ac5f
1 changed files with 1 additions and 2 deletions
|
@ -266,8 +266,7 @@ GST_START_TEST (test_basic)
|
|||
pushinfo.pad = mysrcpad;
|
||||
pushinfo.to_push = to_push;
|
||||
g_mutex_lock (&push_mutex);
|
||||
thread =
|
||||
g_thread_create ((GThreadFunc) my_push_thread, &pushinfo, FALSE, NULL);
|
||||
thread = g_thread_new ("pushthread", (GThreadFunc) my_push_thread, &pushinfo);
|
||||
fail_unless (thread != NULL);
|
||||
|
||||
g_cond_wait (&push_cond, &push_mutex);
|
||||
|
|
Loading…
Reference in a new issue