thread-pool: we don't require a state

This commit is contained in:
Wim Taymans 2013-07-11 17:28:04 +02:00
parent c2d4b79b69
commit 7f8fdbc453

View file

@ -462,7 +462,6 @@ gst_rtsp_thread_pool_get_thread (GstRTSPThreadPool * pool,
GstRTSPThread *result = NULL; GstRTSPThread *result = NULL;
g_return_val_if_fail (GST_IS_RTSP_THREAD_POOL (pool), NULL); g_return_val_if_fail (GST_IS_RTSP_THREAD_POOL (pool), NULL);
g_return_val_if_fail (state != NULL, NULL);
klass = GST_RTSP_THREAD_POOL_GET_CLASS (pool); klass = GST_RTSP_THREAD_POOL_GET_CLASS (pool);