Commit a694bf3a authored by Wim Taymans's avatar Wim Taymans
Browse files

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.
parent ae6b329b
2005-08-19 Wim Taymans <wim@fluendo.com>
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init):
Remove get_time code that is both wrong and unneeded.
2005-08-19 Wim Taymans <wim@fluendo.com>
 
* gst/rtp/gstrtph263penc.c: (gst_rtph263penc_class_init),
......
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment