rtspsrc: Use proper types instead of G_TYPE_POINTER for the RTSP messages in the...
authorSebastian Dröge <sebastian@centricular.com>
Tue, 15 Dec 2020 09:36:27 +0000 (11:36 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 21 Dec 2020 09:59:43 +0000 (09:59 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/842>

docs/gst_plugins_cache.json
gst/rtsp/gstrtspsrc.c

index 39017ab..11d55b9 100644 (file)
                         "args": [
                             {
                                 "name": "arg0",
-                                "type": "gpointer"
+                                "type": "GstRTSPMessage"
                             },
                             {
                                 "name": "arg1",
-                                "type": "gpointer"
+                                "type": "GstRTSPMessage"
                             }
                         ],
                         "return-type": "void"
index 5f9f0fe..dd871c9 100644 (file)
@@ -1013,7 +1013,9 @@ gst_rtspsrc_class_init (GstRTSPSrcClass * klass)
    */
   gst_rtspsrc_signals[SIGNAL_HANDLE_REQUEST] =
       g_signal_new ("handle-request", G_TYPE_FROM_CLASS (klass), 0,
-      0, NULL, NULL, NULL, G_TYPE_NONE, 2, G_TYPE_POINTER, G_TYPE_POINTER);
+      0, NULL, NULL, NULL, G_TYPE_NONE, 2,
+      GST_TYPE_RTSP_MESSAGE | G_SIGNAL_TYPE_STATIC_SCOPE,
+      GST_TYPE_RTSP_MESSAGE | G_SIGNAL_TYPE_STATIC_SCOPE);
 
   /**
    * GstRTSPSrc::on-sdp: