mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
rtspsrc: Fix more signals
Behaviour change in GLib causes select-stream signal to discard the value returned by handlers. See !909 for more info. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/912>
This commit is contained in:
parent
612102fdbc
commit
20e80f1473
2 changed files with 4 additions and 5 deletions
|
@ -20267,7 +20267,7 @@
|
|||
}
|
||||
],
|
||||
"return-type": "gboolean",
|
||||
"when": "first"
|
||||
"when": "last"
|
||||
},
|
||||
"set-parameter": {
|
||||
"action": true,
|
||||
|
|
|
@ -1062,7 +1062,7 @@ gst_rtspsrc_class_init (GstRTSPSrcClass * klass)
|
|||
*/
|
||||
gst_rtspsrc_signals[SIGNAL_SELECT_STREAM] =
|
||||
g_signal_new_class_handler ("select-stream", G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_FIRST | G_SIGNAL_RUN_CLEANUP,
|
||||
G_SIGNAL_RUN_LAST,
|
||||
(GCallback) default_select_stream, select_stream_accum, NULL, NULL,
|
||||
G_TYPE_BOOLEAN, 2, G_TYPE_UINT, GST_TYPE_CAPS);
|
||||
/**
|
||||
|
@ -1077,8 +1077,7 @@ gst_rtspsrc_class_init (GstRTSPSrcClass * klass)
|
|||
*/
|
||||
gst_rtspsrc_signals[SIGNAL_NEW_MANAGER] =
|
||||
g_signal_new_class_handler ("new-manager", G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_FIRST | G_SIGNAL_RUN_CLEANUP, 0, NULL, NULL, NULL,
|
||||
G_TYPE_NONE, 1, GST_TYPE_ELEMENT);
|
||||
0, 0, NULL, NULL, NULL, G_TYPE_NONE, 1, GST_TYPE_ELEMENT);
|
||||
|
||||
/**
|
||||
* GstRTSPSrc::request-rtcp-key:
|
||||
|
@ -1093,7 +1092,7 @@ gst_rtspsrc_class_init (GstRTSPSrcClass * klass)
|
|||
*/
|
||||
gst_rtspsrc_signals[SIGNAL_REQUEST_RTCP_KEY] =
|
||||
g_signal_new ("request-rtcp-key", G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST, 0, NULL, NULL, NULL, GST_TYPE_CAPS, 1, G_TYPE_UINT);
|
||||
0, 0, NULL, NULL, NULL, GST_TYPE_CAPS, 1, G_TYPE_UINT);
|
||||
|
||||
/**
|
||||
* GstRTSPSrc::accept-certificate:
|
||||
|
|
Loading…
Reference in a new issue