mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 17:09:48 +00:00
rtspsrc: timeout on udpsrc is in nanoseconds
This commit is contained in:
parent
32bd981303
commit
b1dc816772
1 changed files with 2 additions and 2 deletions
|
@ -2810,8 +2810,8 @@ gst_rtspsrc_stream_configure_udp (GstRTSPSrc * src, GstRTSPStream * stream,
|
||||||
/* configure a timeout on the UDP port. When the timeout message is
|
/* configure a timeout on the UDP port. When the timeout message is
|
||||||
* posted, we assume UDP transport is not possible. We reconnect using TCP
|
* posted, we assume UDP transport is not possible. We reconnect using TCP
|
||||||
* if we can. */
|
* if we can. */
|
||||||
g_object_set (G_OBJECT (stream->udpsrc[0]), "timeout", src->udp_timeout,
|
g_object_set (G_OBJECT (stream->udpsrc[0]), "timeout",
|
||||||
NULL);
|
src->udp_timeout * 1000, NULL);
|
||||||
|
|
||||||
/* get output pad of the UDP source. */
|
/* get output pad of the UDP source. */
|
||||||
*outpad = gst_element_get_static_pad (stream->udpsrc[0], "src");
|
*outpad = gst_element_get_static_pad (stream->udpsrc[0], "src");
|
||||||
|
|
Loading…
Reference in a new issue