Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gst-plugins-good.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorRicky Tang <ricky@deepsentinel.com>2020-09-07 18:20:58 +0300
committerRicky Tang <ricky@deepsentinel.com>2020-09-11 13:33:04 +0300
commitcfae2a37bec014ec65b06e4ec2b45eab24bd4a7e (patch)
treeaee5fdc553ebaea4ce93f2d25d8f074a34eef4a8 /gst
parent44d4eaab7c61aed00c3e000594b7c3f467ac591e (diff)
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>
Diffstat (limited to 'gst')
-rw-r--r--gst/rtsp/gstrtspsrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index 242ef6dbe..21321e879 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -1131,7 +1131,7 @@ gst_rtspsrc_class_init (GstRTSPSrcClass * klass)
/**
* GstRTSPSrc::push-backchannel-buffer:
* @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_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (GstRTSPSrcClass,
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: