summaryrefslogtreecommitdiffstats
path: root/gst/udp/gstmultiudpsink.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-08-19 16:22:41 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-08-19 16:22:41 +0000
commita694bf3a2904b7e21d33c1b905c61720525f6c9b (patch)
tree6890877c4ed8848a8933f4b63c5c66c78880a1f6 /gst/udp/gstmultiudpsink.c
parentae6b329b8e4a907ab3db9c577e6e04142e9845b4 (diff)
gst/udp/gstmultiudpsink.c: Remove get_time code that is both wrong and unneeded.
Original commit message from CVS: * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init): Remove get_time code that is both wrong and unneeded.
Diffstat (limited to 'gst/udp/gstmultiudpsink.c')
-rw-r--r--gst/udp/gstmultiudpsink.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gst/udp/gstmultiudpsink.c b/gst/udp/gstmultiudpsink.c
index 0fa7a42d..0a922ab2 100644
--- a/gst/udp/gstmultiudpsink.c
+++ b/gst/udp/gstmultiudpsink.c
@@ -66,8 +66,6 @@ static void gst_multiudpsink_class_init (GstMultiUDPSink * klass);
static void gst_multiudpsink_init (GstMultiUDPSink * udpsink);
static void gst_multiudpsink_finalize (GObject * object);
-static void gst_multiudpsink_get_times (GstBaseSink * sink, GstBuffer * buffer,
- GstClockTime * start, GstClockTime * end);
static GstFlowReturn gst_multiudpsink_render (GstBaseSink * sink,
GstBuffer * buffer);
static GstElementStateReturn gst_multiudpsink_change_state (GstElement *
@@ -169,7 +167,6 @@ gst_multiudpsink_class_init (GstMultiUDPSink * klass)
gstelement_class->change_state = gst_multiudpsink_change_state;
- gstbasesink_class->get_times = gst_multiudpsink_get_times;
gstbasesink_class->render = gst_multiudpsink_render;
GST_DEBUG_CATEGORY_INIT (multiudpsink_debug, "multiudpsink", 0, "UDP sink");
@@ -194,14 +191,6 @@ gst_multiudpsink_finalize (GObject * object)
G_OBJECT_CLASS (parent_class)->finalize (object);
}
-static void
-gst_multiudpsink_get_times (GstBaseSink * sink, GstBuffer * buffer,
- GstClockTime * start, GstClockTime * end)
-{
- *start = GST_BUFFER_TIMESTAMP (buffer);
- *end = *start + GST_BUFFER_DURATION (buffer);
-}
-
static GstFlowReturn
gst_multiudpsink_render (GstBaseSink * bsink, GstBuffer * buffer)
{