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().
This commit is contained in:
Wim Taymans 2008-05-26 09:57:40 +00:00 committed by Tim-Philipp Müller
parent 4e5347c8fe
commit 6716231857

View file

@ -151,8 +151,8 @@ create_stream (GstRtpClient * rtpclient, guint32 ssrc)
gst_bin_add (GST_BIN_CAST (rtpclient), stream->ptdemux);
/* link jitterbuffer and PT demuxer */
srcpad = gst_element_get_pad (stream->jitterbuffer, "src");
sinkpad = gst_element_get_pad (stream->ptdemux, "sink");
srcpad = gst_element_get_static_pad (stream->jitterbuffer, "src");
sinkpad = gst_element_get_static_pad (stream->ptdemux, "sink");
res = gst_pad_link (srcpad, sinkpad);
gst_object_unref (srcpad);
gst_object_unref (sinkpad);
@ -165,7 +165,7 @@ create_stream (GstRtpClient * rtpclient, guint32 ssrc)
/* ghost sinkpad */
name = g_strdup_printf ("rtp_sink_%d", ssrc);
sinkpad = gst_element_get_pad (stream->jitterbuffer, "sink");
sinkpad = gst_element_get_static_pad (stream->jitterbuffer, "sink");
stream->rtp_sink = gst_ghost_pad_new (name, sinkpad);
gst_object_unref (sinkpad);
g_free (name);