mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 19:06:33 +00:00
decklink: Use g_thread_new instead of g_thread_create
It's deprecated, and causes a build failure in Cerbero because we pass -DG_DISABLE_DEPRECATED.
This commit is contained in:
parent
beab2ee4dc
commit
90f6e6c097
1 changed files with 1 additions and 1 deletions
|
@ -1133,7 +1133,7 @@ init_devices (gpointer data)
|
|||
g_mutex_lock (&com_init_lock);
|
||||
|
||||
/* create the COM initialization thread */
|
||||
g_thread_create ((GThreadFunc) gst_decklink_com_thread, NULL, FALSE, NULL);
|
||||
g_thread_new ("COM init thread", (GThreadFunc) gst_decklink_com_thread, NULL);
|
||||
|
||||
/* wait until the COM thread signals that COM has been initialized */
|
||||
g_cond_wait (&com_init_cond, &com_init_lock);
|
||||
|
|
Loading…
Reference in a new issue