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:
Wim Taymans 2002-06-23 12:43:45 +00:00
parent 9cfd185748
commit 839c62927c

View file

@ -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);