[farsight2/master] Use get_static_pad instead of deprecated get_pad, patch from oleavr

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:24:08 PST 2008


---
 gst/fsrtpconference/fs-rtp-special-source.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-special-source.c b/gst/fsrtpconference/fs-rtp-special-source.c
index ed4a025..56e85f8 100644
--- a/gst/fsrtpconference/fs-rtp-special-source.c
+++ b/gst/fsrtpconference/fs-rtp-special-source.c
@@ -615,7 +615,7 @@ fs_rtp_special_source_send_event (FsRtpSpecialSource *self,
   gboolean ret = FALSE;
   GstPad *pad;
 
-  pad = gst_element_get_pad (self->priv->src, "src");
+  pad = gst_element_get_static_pad (self->priv->src, "src");
 
   if (!pad)
   {
-- 
1.5.6.5




More information about the farsight-commits mailing list