mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +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.pad = mysrcpad;
|
||||||
pushinfo.to_push = to_push;
|
pushinfo.to_push = to_push;
|
||||||
g_mutex_lock (&push_mutex);
|
g_mutex_lock (&push_mutex);
|
||||||
thread =
|
thread = g_thread_new ("pushthread", (GThreadFunc) my_push_thread, &pushinfo);
|
||||||
g_thread_create ((GThreadFunc) my_push_thread, &pushinfo, FALSE, NULL);
|
|
||||||
fail_unless (thread != NULL);
|
fail_unless (thread != NULL);
|
||||||
|
|
||||||
g_cond_wait (&push_cond, &push_mutex);
|
g_cond_wait (&push_cond, &push_mutex);
|
||||||
|
|
Loading…
Reference in a new issue