session pool: fix missing klass-> in klass->create_session
authorErlend Eriksen <erlend_ne@hotmail.com>
Wed, 27 Mar 2019 23:27:37 +0000 (00:27 +0100)
committerErlend Eriksen <erlend_ne@hotmail.com>
Wed, 27 Mar 2019 23:27:37 +0000 (00:27 +0100)
gst/rtsp-server/rtsp-session-pool.c

index b09db93..43ae44e 100644 (file)
@@ -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 */