mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
srtobject: fix optlen of srt_getsockflag
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2149>
This commit is contained in:
parent
e69d0151d2
commit
57d8de68d1
1 changed files with 2 additions and 2 deletions
|
@ -1678,7 +1678,7 @@ gst_srt_object_write_to_callers (GstSRTObject * srtobject,
|
|||
gssize len = 0;
|
||||
const guint8 *msg = mapinfo->data;
|
||||
gint sent;
|
||||
gint payload_size, optlen = 1;
|
||||
gint payload_size, optlen = sizeof (payload_size);
|
||||
|
||||
SRTCaller *caller = callers->data;
|
||||
callers = callers->next;
|
||||
|
@ -1736,7 +1736,7 @@ gst_srt_object_write_one (GstSRTObject * srtobject,
|
|||
gssize len = 0;
|
||||
gint poll_timeout;
|
||||
const guint8 *msg = mapinfo->data;
|
||||
gint payload_size, optlen = 1;
|
||||
gint payload_size, optlen = sizeof (payload_size);
|
||||
gboolean wait_for_connection;
|
||||
|
||||
GST_OBJECT_LOCK (srtobject->element);
|
||||
|
|
Loading…
Reference in a new issue