From cd00eb71b42873ece10c2af6f7021c8b7fa229bb Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 13 May 2008 09:06:51 +0000 Subject: [PATCH] gst/rtpmanager/gstrtpbin.c: Actually add the do-lost property to the object. Original commit message from CVS: * gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_class_init): Actually add the do-lost property to the object. --- gst/rtpmanager/gstrtpbin.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c index 6e1b7bb..d7a2c4a 100644 --- a/gst/rtpmanager/gstrtpbin.c +++ b/gst/rtpmanager/gstrtpbin.c @@ -1302,6 +1302,11 @@ gst_rtp_bin_class_init (GstRtpBinClass * klass) "The NOTE to put in SDES messages of this session", DEFAULT_SDES_NOTE, G_PARAM_READWRITE)); + g_object_class_install_property (gobject_class, PROP_DO_LOST, + g_param_spec_boolean ("do-lost", "Do Lost", + "Send an event downstream when a packet is lost", DEFAULT_DO_LOST, + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + gstelement_class->provide_clock = GST_DEBUG_FUNCPTR (gst_rtp_bin_provide_clock); gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_rtp_bin_change_state); -- 2.7.4