mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
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.
This commit is contained in:
parent
f50d6d8014
commit
54d753a845
2 changed files with 5 additions and 11 deletions
|
@ -1,3 +1,8 @@
|
|||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue