rtspsrc: Use the correct type for storing the max-rtcp-rtp-time-diff property
authorSebastian Dröge <sebastian@centricular.com>
Wed, 27 May 2020 19:33:31 +0000 (22:33 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 27 May 2020 19:33:31 +0000 (22:33 +0300)
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: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/605>

gst/rtsp/gstrtspsrc.h

index 9ed8dd4..743ad15 100644 (file)
@@ -268,7 +268,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;