summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2020-05-27 22:33:31 +0300
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>2020-09-25 07:41:35 +0000
commit68dd1ee9065b120852ed609517b180cfee0cf442 (patch)
treeeb1b9dff01b0e150ecfd11d6dfed722fe6c59dbd
parent2f4fc45b6bbb668ee192a18e698eab816ebc9dd8 (diff)
downloadgstreamer-plugins-good-68dd1ee9065b120852ed609517b180cfee0cf442.tar.gz
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/744>
-rw-r--r--gst/rtsp/gstrtspsrc.h2
1 files changed, 1 insertions, 1 deletions
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;