rtspsrc: Fix push-backchannel-buffer parameter mismatch

When using python, signal parameter must match with function.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/724>
This commit is contained in:
Ricky Tang 2020-09-07 23:20:58 +08:00
parent 44d4eaab7c
commit cfae2a37be
2 changed files with 3 additions and 3 deletions

View file

@ -20776,7 +20776,7 @@
}, },
{ {
"name": "arg1", "name": "arg1",
"type": "GstBuffer" "type": "GstSample"
} }
], ],
"return-type": "GstFlowReturn", "return-type": "GstFlowReturn",

View file

@ -1131,7 +1131,7 @@ gst_rtspsrc_class_init (GstRTSPSrcClass * klass)
/** /**
* GstRTSPSrc::push-backchannel-buffer: * GstRTSPSrc::push-backchannel-buffer:
* @rtspsrc: a #GstRTSPSrc * @rtspsrc: a #GstRTSPSrc
* @buffer: RTP buffer to send back * @sample: RTP sample to send back
* *
* *
*/ */
@ -1139,7 +1139,7 @@ gst_rtspsrc_class_init (GstRTSPSrcClass * klass)
g_signal_new ("push-backchannel-buffer", G_TYPE_FROM_CLASS (klass), g_signal_new ("push-backchannel-buffer", G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (GstRTSPSrcClass, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (GstRTSPSrcClass,
push_backchannel_buffer), NULL, NULL, NULL, push_backchannel_buffer), NULL, NULL, NULL,
GST_TYPE_FLOW_RETURN, 2, G_TYPE_UINT, GST_TYPE_BUFFER); GST_TYPE_FLOW_RETURN, 2, G_TYPE_UINT, GST_TYPE_SAMPLE);
/** /**
* GstRTSPSrc::get-parameter: * GstRTSPSrc::get-parameter: