diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2013-04-15 09:01:55 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2013-04-15 09:28:05 +0200 |
commit | 9699a974ca8c6d66333de1cff3c3f6774d70d980 (patch) | |
tree | 38d5f3744c9d255aa9c5d88a5bdcd0d957866f56 /gst | |
parent | 2b160f516a6caa976ad224bc90adb71570ccc55d (diff) | |
download | gstreamer-plugins-bad-9699a974ca8c6d66333de1cff3c3f6774d70d980.tar.gz |
sdpdemux: fix timeout value
Timeout on udpsrc is in nanoseconds in 1.0
Diffstat (limited to 'gst')
-rw-r--r-- | gst/sdp/gstsdpdemux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c index abdd6e7c5..479124b0f 100644 --- a/gst/sdp/gstsdpdemux.c +++ b/gst/sdp/gstsdpdemux.c @@ -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 * posted, we assume UDP transport is not possible. */ - g_object_set (G_OBJECT (stream->udpsrc[0]), "timeout", demux->udp_timeout, - NULL); + g_object_set (G_OBJECT (stream->udpsrc[0]), "timeout", + demux->udp_timeout * 1000, NULL); /* get output pad of the UDP source. */ pad = gst_element_get_static_pad (stream->udpsrc[0], "src"); |