mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
sdpdemux: fix timeout value
Timeout on udpsrc is in nanoseconds in 1.0
This commit is contained in:
parent
2b160f516a
commit
9699a974ca
1 changed files with 2 additions and 2 deletions
|
@ -989,8 +989,8 @@ gst_sdp_demux_stream_configure_udp (GstSDPDemux * demux, GstSDPStream * 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. */
|
* posted, we assume UDP transport is not possible. */
|
||||||
g_object_set (G_OBJECT (stream->udpsrc[0]), "timeout", demux->udp_timeout,
|
g_object_set (G_OBJECT (stream->udpsrc[0]), "timeout",
|
||||||
NULL);
|
demux->udp_timeout * 1000, NULL);
|
||||||
|
|
||||||
/* get output pad of the UDP source. */
|
/* get output pad of the UDP source. */
|
||||||
pad = gst_element_get_static_pad (stream->udpsrc[0], "src");
|
pad = gst_element_get_static_pad (stream->udpsrc[0], "src");
|
||||||
|
|
Loading…
Reference in a new issue