summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2008-05-13 09:06:51 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-05-13 09:06:51 +0000
commit9fd3fa1063e01f3db9b753e1dda021ae08d21779 (patch)
treefdfb6da9f7131ed80aae0568f8791d936f3ff895
parent4ab14e08490e05b913b9412d7280b73abf88e701 (diff)
downloadgst-plugins-bad-9fd3fa1063e01f3db9b753e1dda021ae08d21779.tar.gz
gst-plugins-bad-9fd3fa1063e01f3db9b753e1dda021ae08d21779.tar.bz2
gst-plugins-bad-9fd3fa1063e01f3db9b753e1dda021ae08d21779.zip
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.
-rw-r--r--ChangeLog5
-rw-r--r--gst/rtpmanager/gstrtpbin.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 66d4c9d4..1a5fe62a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-13 Wim Taymans <wim.taymans@collabora.co.uk>
+
+ * gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_class_init):
+ Actually add the do-lost property to the object.
+
2008-05-12 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtpmanager/gstrtpjitterbuffer.c:
diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c
index 6e1b7bb9..d7a2c4ae 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);