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: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/605>
This commit is contained in:
Sebastian Dröge 2020-05-27 22:33:31 +03:00
parent 5f91be7ea0
commit b94b9988fa

View 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;