projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beab2ee
)
decklink: Use g_thread_new instead of g_thread_create
author
Nirbheek Chauhan
<nirbheek@centricular.com>
Tue, 27 Mar 2018 07:17:13 +0000
(12:47 +0530)
committer
Nirbheek Chauhan
<nirbheek@centricular.com>
Tue, 27 Mar 2018 07:21:19 +0000
(12:51 +0530)
It's deprecated, and causes a build failure in Cerbero because we pass
-DG_DISABLE_DEPRECATED.
sys/decklink/gstdecklink.cpp
patch
|
blob
|
history
diff --git
a/sys/decklink/gstdecklink.cpp
b/sys/decklink/gstdecklink.cpp
index
b08ae48
..
fb7276a
100644
(file)
--- a/
sys/decklink/gstdecklink.cpp
+++ b/
sys/decklink/gstdecklink.cpp
@@
-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);