diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2008-05-26 09:57:40 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-05-26 09:57:40 +0000 |
commit | 5ad2dc58df08b5871fe67e300983858bfccd79f4 (patch) | |
tree | 93753100eeaa9151373ef1c4a2990c9ed8dde145 /gst/replaygain | |
parent | b7c64b81655f4cd7ba4e55fc0a4d69e5c9b3fd4b (diff) | |
download | gst-plugins-bad-5ad2dc58df08b5871fe67e300983858bfccd79f4.tar.gz gst-plugins-bad-5ad2dc58df08b5871fe67e300983858bfccd79f4.tar.bz2 gst-plugins-bad-5ad2dc58df08b5871fe67e300983858bfccd79f4.zip |
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/replaygain')
-rw-r--r-- | gst/replaygain/gstrgvolume.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/replaygain/gstrgvolume.c b/gst/replaygain/gstrgvolume.c index 35b4f5ef..dbcfaf5d 100644 --- a/gst/replaygain/gstrgvolume.c +++ b/gst/replaygain/gstrgvolume.c @@ -341,14 +341,14 @@ gst_rg_volume_init (GstRgVolume * self, GstRgVolumeClass * gclass) GST_BIN_CLASS (parent_class)->add_element (GST_BIN_CAST (self), self->volume_element); - volume_pad = gst_element_get_pad (self->volume_element, "sink"); + volume_pad = gst_element_get_static_pad (self->volume_element, "sink"); ghost_pad = gst_ghost_pad_new_from_template ("sink", volume_pad, gst_pad_get_pad_template (volume_pad)); gst_object_unref (volume_pad); gst_pad_set_event_function (ghost_pad, gst_rg_volume_sink_event); gst_element_add_pad (GST_ELEMENT_CAST (self), ghost_pad); - volume_pad = gst_element_get_pad (self->volume_element, "src"); + volume_pad = gst_element_get_static_pad (self->volume_element, "src"); ghost_pad = gst_ghost_pad_new_from_template ("src", volume_pad, gst_pad_get_pad_template (volume_pad)); gst_object_unref (volume_pad); |