[farsight2/master] Call parent at the end of constructed methods

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


---
 gst/fsrtpconference/fs-rtp-session.c              |    2 ++
 gst/fsrtpconference/fs-rtp-stream.c               |    2 ++
 gst/fsrtpconference/fs-rtp-substream.c            |    2 ++
 transmitters/multicast/fs-multicast-transmitter.c |    2 ++
 transmitters/rawudp/fs-rawudp-transmitter.c       |    2 ++
 5 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 5af0070..f812d89 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -1122,6 +1122,8 @@ fs_rtp_session_constructed (GObject *object)
   }
 
   gst_element_set_state (capsfilter, GST_STATE_PLAYING);
+
+  GST_CALL_PARENT (G_OBJECT_CLASS, constructed, (object));
 }
 
 
diff --git a/gst/fsrtpconference/fs-rtp-stream.c b/gst/fsrtpconference/fs-rtp-stream.c
index 1bde8ba..c59ba30 100644
--- a/gst/fsrtpconference/fs-rtp-stream.c
+++ b/gst/fsrtpconference/fs-rtp-stream.c
@@ -395,6 +395,8 @@ fs_rtp_stream_constructed (GObject *object)
       "error",
       G_CALLBACK (_transmitter_error),
       self);
+
+  GST_CALL_PARENT (G_OBJECT_CLASS, constructed, (object));
 }
 
 
diff --git a/gst/fsrtpconference/fs-rtp-substream.c b/gst/fsrtpconference/fs-rtp-substream.c
index 8c6ee5c..165fd81 100644
--- a/gst/fsrtpconference/fs-rtp-substream.c
+++ b/gst/fsrtpconference/fs-rtp-substream.c
@@ -397,6 +397,8 @@ fs_rtp_sub_stream_constructed (GObject *object)
   if (self->priv->no_rtcp_timeout > 0)
     self->priv->no_rtcp_timeout_id = g_timeout_add (self->priv->no_rtcp_timeout,
         _no_rtcp_timeout, self);
+
+  GST_CALL_PARENT (G_OBJECT_CLASS, constructed, (object));
 }
 
 
diff --git a/transmitters/multicast/fs-multicast-transmitter.c b/transmitters/multicast/fs-multicast-transmitter.c
index b268685..0cdb37e 100644
--- a/transmitters/multicast/fs-multicast-transmitter.c
+++ b/transmitters/multicast/fs-multicast-transmitter.c
@@ -352,6 +352,8 @@ fs_multicast_transmitter_constructed (GObject *object)
       return;
     }
   }
+
+  GST_CALL_PARENT (G_OBJECT_CLASS, constructed, (object));
 }
 
 static void
diff --git a/transmitters/rawudp/fs-rawudp-transmitter.c b/transmitters/rawudp/fs-rawudp-transmitter.c
index 0825f6a..87596ca 100644
--- a/transmitters/rawudp/fs-rawudp-transmitter.c
+++ b/transmitters/rawudp/fs-rawudp-transmitter.c
@@ -364,6 +364,8 @@ fs_rawudp_transmitter_constructed (GObject *object)
       return;
     }
   }
+
+  GST_CALL_PARENT (G_OBJECT_CLASS, constructed, (object));
 }
 
 static void
-- 
1.5.6.5




More information about the farsight-commits mailing list