From 9fd3fa1063e01f3db9b753e1dda021ae08d21779 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. --- ChangeLog | 5 +++++ gst/rtpmanager/gstrtpbin.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 66d4c9d4dc..1a5fe62a69 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-13 Wim Taymans + + * gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_class_init): + Actually add the do-lost property to the object. + 2008-05-12 Wim Taymans * gst/rtpmanager/gstrtpjitterbuffer.c: diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c index 6e1b7bb954..d7a2c4aea0 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);