mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
Use new method to check for availability of threads
Original commit message from CVS: Use new method to check for availability of threads
This commit is contained in:
parent
9cfd185748
commit
839c62927c
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ gst_thread_change_state (GstElement * element)
|
|||
glong stacksize;
|
||||
|
||||
g_return_val_if_fail (GST_IS_THREAD (element), GST_STATE_FAILURE);
|
||||
g_return_val_if_fail (gst_with_threads (), GST_STATE_FAILURE);
|
||||
g_return_val_if_fail (gst_has_threads (), GST_STATE_FAILURE);
|
||||
|
||||
thread = GST_THREAD (element);
|
||||
|
||||
|
|
Loading…
Reference in a new issue