From 9699a974ca8c6d66333de1cff3c3f6774d70d980 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 15 Apr 2013 09:01:55 +0200 Subject: [PATCH] sdpdemux: fix timeout value Timeout on udpsrc is in nanoseconds in 1.0 --- gst/sdp/gstsdpdemux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c index abdd6e7c5a..479124b0f8 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");