summaryrefslogtreecommitdiff
path: root/gst/sdp
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-11-04 12:31:19 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2011-11-04 12:31:19 +0100
commiteaad7e58b08bd6233095baabf019b2b0a1f53bb5 (patch)
tree55e43024b8040e872766d02448ace44a9927a740 /gst/sdp
parentc8adc4f8c86dc1a56bfb90be1b7cba80d233ccbf (diff)
downloadgstreamer-plugins-bad-eaad7e58b08bd6233095baabf019b2b0a1f53bb5.tar.gz
more template fixes
Diffstat (limited to 'gst/sdp')
-rw-r--r--gst/sdp/gstsdpdemux.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c
index 8f7bbc8ef..7780ff7f8 100644
--- a/gst/sdp/gstsdpdemux.c
+++ b/gst/sdp/gstsdpdemux.c
@@ -755,7 +755,7 @@ new_session_pad (GstElement * session, GstPad * pad, GstSDPDemux * demux)
GST_SDP_STREAM_LOCK (demux);
/* find stream */
name = gst_object_get_name (GST_OBJECT_CAST (pad));
- if (sscanf (name, "recv_rtp_src_%d_%d_%d", &id, &ssrc, &pt) != 3)
+ if (sscanf (name, "recv_rtp_src_%u_%u_%u", &id, &ssrc, &pt) != 3)
goto unknown_stream;
GST_DEBUG_OBJECT (demux, "stream: %u, SSRC %d, PT %d", id, ssrc, pt);
@@ -1017,7 +1017,7 @@ gst_sdp_demux_stream_configure_udp (GstSDPDemux * demux, GstSDPStream * stream)
/* get output pad of the UDP source. */
pad = gst_element_get_static_pad (stream->udpsrc[0], "src");
- name = g_strdup_printf ("recv_rtp_sink_%d", stream->id);
+ name = g_strdup_printf ("recv_rtp_sink_%u", stream->id);
stream->channelpad[0] = gst_element_get_request_pad (demux->session, name);
g_free (name);
@@ -1046,7 +1046,7 @@ gst_sdp_demux_stream_configure_udp (GstSDPDemux * demux, GstSDPStream * stream)
GST_DEBUG_OBJECT (demux, "connecting RTCP source to manager");
- name = g_strdup_printf ("recv_rtcp_sink_%d", stream->id);
+ name = g_strdup_printf ("recv_rtcp_sink_%u", stream->id);
stream->channelpad[1] = gst_element_get_request_pad (demux->session, name);
g_free (name);
@@ -1120,7 +1120,7 @@ gst_sdp_demux_stream_configure_udp_sink (GstSDPDemux * demux,
gst_bin_add (GST_BIN_CAST (demux), stream->udpsink);
/* get session RTCP pad */
- name = g_strdup_printf ("send_rtcp_src_%d", stream->id);
+ name = g_strdup_printf ("send_rtcp_src_%u", stream->id);
pad = gst_element_get_request_pad (demux->session, name);
g_free (name);