Commit 54d753a8 authored by Wim Taymans's avatar Wim Taymans
Browse files

gst/udp/gstdynudpsink.c: Applied patch from Kai Vehmanen, fixes #333624.

Original commit message from CVS:
* gst/udp/gstdynudpsink.c: (gst_dynudpsink_class_init):
Applied patch from Kai Vehmanen, fixes #333624.
parent f50d6d80
2006-03-07 Wim Taymans <wim@fluendo.com>
* gst/udp/gstdynudpsink.c: (gst_dynudpsink_class_init):
Applied patch from Kai Vehmanen, fixes #333624.
2006-03-06 Julien MOUTTE <julien@moutte.net>
* ext/libpng/gstpngdec.c: (gst_pngdec_caps_create_and_set):
......
......@@ -64,8 +64,6 @@ static void gst_dynudpsink_class_init (GstDynUDPSink * klass);
static void gst_dynudpsink_init (GstDynUDPSink * udpsink);
static void gst_dynudpsink_finalize (GObject * object);
static void gst_dynudpsink_get_times (GstBaseSink * sink, GstBuffer * buffer,
GstClockTime * start, GstClockTime * end);
static GstFlowReturn gst_dynudpsink_render (GstBaseSink * sink,
GstBuffer * buffer);
static void gst_dynudpsink_close (GstDynUDPSink * sink);
......@@ -148,7 +146,6 @@ gst_dynudpsink_class_init (GstDynUDPSink * klass)
gstelement_class->change_state = gst_dynudpsink_change_state;
gstbasesink_class->get_times = gst_dynudpsink_get_times;
gstbasesink_class->render = gst_dynudpsink_render;
GST_DEBUG_CATEGORY_INIT (dynudpsink_debug, "dynudpsink", 0, "UDP sink");
......@@ -171,14 +168,6 @@ gst_dynudpsink_finalize (GObject * object)
G_OBJECT_CLASS (parent_class)->finalize (object);
}
static void
gst_dynudpsink_get_times (GstBaseSink * sink, GstBuffer * buffer,
GstClockTime * start, GstClockTime * end)
{
*start = GST_BUFFER_TIMESTAMP (buffer);
*end = *start + GST_BUFFER_DURATION (buffer);
}
static GstFlowReturn
gst_dynudpsink_render (GstBaseSink * bsink, GstBuffer * buffer)
{
......
Supports Markdown
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