summaryrefslogtreecommitdiff
path: root/gst/sdp
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2008-05-26 09:57:40 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-05-26 09:57:40 +0000
commit5ad2dc58df08b5871fe67e300983858bfccd79f4 (patch)
tree93753100eeaa9151373ef1c4a2990c9ed8dde145 /gst/sdp
parentb7c64b81655f4cd7ba4e55fc0a4d69e5c9b3fd4b (diff)
Don't use _gst_pad().
Original commit message from CVS: * examples/switch/switcher.c: (switch_timer): * gst/replaygain/gstrgvolume.c: (gst_rg_volume_init): * gst/rtpmanager/gstrtpclient.c: (create_stream): * gst/sdp/gstsdpdemux.c: (gst_sdp_demux_stream_configure_udp), (gst_sdp_demux_stream_configure_udp_sink): * tests/check/elements/deinterleave.c: (GST_START_TEST), (pad_added_setup_data_check_float32_8ch_cb): * tests/check/elements/rganalysis.c: (send_eos_event), (send_tag_event): Don't use _gst_pad().
Diffstat (limited to 'gst/sdp')
-rw-r--r--gst/sdp/gstsdpdemux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c
index b0de0d202..45cdc3a88 100644
--- a/gst/sdp/gstsdpdemux.c
+++ b/gst/sdp/gstsdpdemux.c
@@ -918,7 +918,7 @@ gst_sdp_demux_stream_configure_udp (GstSDPDemux * demux, GstSDPStream * stream)
NULL);
/* get output pad of the UDP source. */
- pad = gst_element_get_pad (stream->udpsrc[0], "src");
+ pad = gst_element_get_static_pad (stream->udpsrc[0], "src");
name = g_strdup_printf ("recv_rtp_sink_%d", stream->id);
stream->channelpad[0] = gst_element_get_request_pad (demux->session, name);
@@ -954,7 +954,7 @@ gst_sdp_demux_stream_configure_udp (GstSDPDemux * demux, GstSDPStream * stream)
stream->channelpad[1] = gst_element_get_request_pad (demux->session, name);
g_free (name);
- pad = gst_element_get_pad (stream->udpsrc[1], "src");
+ pad = gst_element_get_static_pad (stream->udpsrc[1], "src");
gst_pad_link (pad, stream->channelpad[1]);
gst_object_unref (pad);
@@ -1021,7 +1021,7 @@ gst_sdp_demux_stream_configure_udp_sink (GstSDPDemux * demux,
/* and link */
if (pad) {
- sinkpad = gst_element_get_pad (stream->udpsink, "sink");
+ sinkpad = gst_element_get_static_pad (stream->udpsink, "sink");
gst_pad_link (pad, sinkpad);
gst_object_unref (sinkpad);
} else {