mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
rtspsrc: Use proper types instead of G_TYPE_POINTER for the RTSP messages in the "handle-request" signal
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/842>
This commit is contained in:
parent
81d2f67ba5
commit
39c6bc0507
2 changed files with 5 additions and 3 deletions
|
@ -20123,11 +20123,11 @@
|
||||||
"args": [
|
"args": [
|
||||||
{
|
{
|
||||||
"name": "arg0",
|
"name": "arg0",
|
||||||
"type": "gpointer"
|
"type": "GstRTSPMessage"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "arg1",
|
"name": "arg1",
|
||||||
"type": "gpointer"
|
"type": "GstRTSPMessage"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"return-type": "void"
|
"return-type": "void"
|
||||||
|
|
|
@ -1013,7 +1013,9 @@ gst_rtspsrc_class_init (GstRTSPSrcClass * klass)
|
||||||
*/
|
*/
|
||||||
gst_rtspsrc_signals[SIGNAL_HANDLE_REQUEST] =
|
gst_rtspsrc_signals[SIGNAL_HANDLE_REQUEST] =
|
||||||
g_signal_new ("handle-request", G_TYPE_FROM_CLASS (klass), 0,
|
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:
|
* GstRTSPSrc::on-sdp:
|
||||||
|
|
Loading…
Reference in a new issue