From 68dd1ee9065b120852ed609517b180cfee0cf442 Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Wed, 27 May 2020 22:33:31 +0300 Subject: rtspsrc: Use the correct type for storing the max-rtcp-rtp-time-diff property It's an integer property and rtpbin also expects an integer. Passing it as a GstClockTime (guint64) to g_object_set() will cause problems, and on big endian MIPS apparently causes crashes. Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/737 Part-of: --- gst/rtsp/gstrtspsrc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtsp/gstrtspsrc.h b/gst/rtsp/gstrtspsrc.h index 6e51dd673..48758e4b2 100644 --- a/gst/rtsp/gstrtspsrc.h +++ b/gst/rtsp/gstrtspsrc.h @@ -266,7 +266,7 @@ struct _GstRTSPSrc { gboolean do_retransmission; gint ntp_time_source; gchar *user_agent; - GstClockTime max_rtcp_rtp_time_diff; + gint max_rtcp_rtp_time_diff; gboolean rfc7273_sync; guint64 max_ts_offset_adjustment; gint64 max_ts_offset; -- cgit v1.2.3