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 /tests/check/elements/rganalysis.c | |
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 'tests/check/elements/rganalysis.c')
-rw-r--r-- | tests/check/elements/rganalysis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check/elements/rganalysis.c b/tests/check/elements/rganalysis.c index 16253b20..0045cb94 100644 --- a/tests/check/elements/rganalysis.c +++ b/tests/check/elements/rganalysis.c @@ -201,7 +201,7 @@ static void send_eos_event (GstElement * element) { GstBus *bus = gst_element_get_bus (element); - GstPad *pad = gst_element_get_pad (element, "sink"); + GstPad *pad = gst_element_get_static_pad (element, "sink"); GstEvent *event = gst_event_new_eos (); fail_unless (gst_pad_send_event (pad, event), @@ -220,7 +220,7 @@ send_eos_event (GstElement * element) static void send_tag_event (GstElement * element, GstTagList * tag_list) { - GstPad *pad = gst_element_get_pad (element, "sink"); + GstPad *pad = gst_element_get_static_pad (element, "sink"); GstEvent *event = gst_event_new_tag (tag_list); fail_unless (gst_pad_send_event (pad, event), |