summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-04-22 18:01:07 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-04-22 18:01:07 -0400
commit962f9173f24a677546dba9c2e27e54509834711e (patch)
tree415799fc6f71aacddefb25f6de6c1d90c5261f1c /gst
parent74e0724acf5f0c8c1093925fbdd8d2d4ef6edac2 (diff)
downloadgst-plugins-bad-962f9173f24a677546dba9c2e27e54509834711e.tar.gz
gst-plugins-bad-962f9173f24a677546dba9c2e27e54509834711e.tar.bz2
gst-plugins-bad-962f9173f24a677546dba9c2e27e54509834711e.zip
rtpmux: Fix warning
Diffstat (limited to 'gst')
-rw-r--r--gst/rtpmux/gstrtpmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtpmux/gstrtpmux.c b/gst/rtpmux/gstrtpmux.c
index 2a045b94..d7a9b47c 100644
--- a/gst/rtpmux/gstrtpmux.c
+++ b/gst/rtpmux/gstrtpmux.c
@@ -274,7 +274,7 @@ gst_rtp_mux_setup_sinkpad (GstRTPMux * rtp_mux, GstPad * sinkpad)
gst_pad_set_active (sinkpad, TRUE);
gst_pad_set_element_private (sinkpad, padpriv);
- g_object_weak_ref (sinkpad, free_pad_private, padpriv);
+ g_object_weak_ref (G_OBJECT (sinkpad), free_pad_private, padpriv);
/* dd the pad to the element */
gst_element_add_pad (GST_ELEMENT (rtp_mux), sinkpad);