mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
rtsp-media: Use guint64 for setting the size-time property on rtpstorage
Otherwise this will cause memory corruption as the property expects a 64 bit integer. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/merge_requests/169>
This commit is contained in:
parent
4f673af4b5
commit
c1ede049eb
1 changed files with 1 additions and 1 deletions
|
@ -1659,7 +1659,7 @@ update_stream_storage_size (GstRTSPMedia * media, GstRTSPStream * stream,
|
|||
sessid, &storage);
|
||||
|
||||
if (storage) {
|
||||
guint size_time = 0;
|
||||
guint64 size_time = 0;
|
||||
|
||||
if (!gst_rtsp_stream_is_tcp_receiver (stream))
|
||||
size_time = (media->priv->latency + 50) * GST_MSECOND;
|
||||
|
|
Loading…
Reference in a new issue