diff options
author | Ricky Tang <ricky@deepsentinel.com> | 2020-09-07 23:20:58 +0800 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2020-10-03 00:50:45 +0100 |
commit | e0b24dac12afd51106fd13ef6f3434e7b79736c9 (patch) | |
tree | e35fc9eb596a9270d46d38a84d1d4883e6bae53f | |
parent | de330527cb56965bef5d93c11c031fdf880cb3d1 (diff) | |
download | gstreamer-plugins-good-e0b24dac12afd51106fd13ef6f3434e7b79736c9.tar.gz |
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/761>
-rw-r--r-- | docs/gst_plugins_cache.json | 2 | ||||
-rw-r--r-- | gst/rtsp/gstrtspsrc.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/gst_plugins_cache.json b/docs/gst_plugins_cache.json index a49625295..de369d562 100644 --- a/docs/gst_plugins_cache.json +++ b/docs/gst_plugins_cache.json @@ -20776,7 +20776,7 @@ }, { "name": "arg1", - "type": "GstBuffer" + "type": "GstSample" } ], "return-type": "GstFlowReturn", 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: |