mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
srt: Set default poll-timeout to one second
Removing a socket from the poll is not a guaranteed unlock. If we let the poll continue indefinitely, then e.g. an unfed srtsrc can deadlock when we try to shut it down. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4087>
This commit is contained in:
parent
d2202f516a
commit
4cede7c472
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GST_SRT_DEFAULT_MODE GST_SRT_CONNECTION_MODE_CALLER
|
#define GST_SRT_DEFAULT_MODE GST_SRT_CONNECTION_MODE_CALLER
|
||||||
#define GST_SRT_DEFAULT_PBKEYLEN GST_SRT_KEY_LENGTH_0
|
#define GST_SRT_DEFAULT_PBKEYLEN GST_SRT_KEY_LENGTH_0
|
||||||
#define GST_SRT_DEFAULT_POLL_TIMEOUT -1
|
#define GST_SRT_DEFAULT_POLL_TIMEOUT 1000
|
||||||
#define GST_SRT_DEFAULT_LATENCY 125
|
#define GST_SRT_DEFAULT_LATENCY 125
|
||||||
#define GST_SRT_DEFAULT_MSG_SIZE 1316
|
#define GST_SRT_DEFAULT_MSG_SIZE 1316
|
||||||
#define GST_SRT_DEFAULT_WAIT_FOR_CONNECTION (TRUE)
|
#define GST_SRT_DEFAULT_WAIT_FOR_CONNECTION (TRUE)
|
||||||
|
|
Loading…
Reference in a new issue