diff --git a/gst/rtsp-server/rtsp-session-pool.c b/gst/rtsp-server/rtsp-session-pool.c index b09db93d45..43ae44e9f2 100644 --- a/gst/rtsp-server/rtsp-session-pool.c +++ b/gst/rtsp-server/rtsp-session-pool.c @@ -386,7 +386,7 @@ gst_rtsp_session_pool_create (GstRTSPSessionPool * pool) } else { /* not found, create session and insert it in the pool */ if (klass->create_session) - result = create_session (pool, id); + result = klass->create_session (pool, id); if (result == NULL) goto too_many_sessions; /* take additional ref for the pool */