From 962f9173f24a677546dba9c2e27e54509834711e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Wed, 22 Apr 2009 18:01:07 -0400 Subject: rtpmux: Fix warning --- gst/rtpmux/gstrtpmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/rtpmux/gstrtpmux.c') 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); -- cgit v1.2.1