mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-14 19:35:39 +00:00
thread-pool: fix vmethod invocation
This commit is contained in:
parent
8cec0f8a46
commit
6f5a82aed3
1 changed files with 5 additions and 3 deletions
|
@ -162,8 +162,7 @@ static void gst_rtsp_thread_pool_set_property (GObject * object, guint propid,
|
|||
const GValue * value, GParamSpec * pspec);
|
||||
static void gst_rtsp_thread_pool_finalize (GObject * obj);
|
||||
|
||||
static gpointer do_loop (GstRTSPThread * thread,
|
||||
GstRTSPThreadPoolClass * klass);
|
||||
static gpointer do_loop (GstRTSPThread * thread);
|
||||
static GstRTSPThread *default_get_thread (GstRTSPThreadPool * pool,
|
||||
GstRTSPThreadType type, GstRTSPClientState * state);
|
||||
|
||||
|
@ -262,14 +261,17 @@ gst_rtsp_thread_pool_set_property (GObject * object, guint propid,
|
|||
}
|
||||
|
||||
static gpointer
|
||||
do_loop (GstRTSPThread * thread, GstRTSPThreadPoolClass * klass)
|
||||
do_loop (GstRTSPThread * thread)
|
||||
{
|
||||
GstRTSPThreadPoolPrivate *priv;
|
||||
GstRTSPThreadPoolClass *klass;
|
||||
GstRTSPThreadPool *pool;
|
||||
|
||||
pool = gst_mini_object_get_qdata (GST_MINI_OBJECT (thread), thread_pool);
|
||||
priv = pool->priv;
|
||||
|
||||
klass = GST_RTSP_THREAD_POOL_GET_CLASS (pool);
|
||||
|
||||
if (klass->thread_enter)
|
||||
klass->thread_enter (pool, thread);
|
||||
|
||||
|
|
Loading…
Reference in a new issue