+2008-08-26 Edward Hervey <edward.hervey@collabora.co.uk>
+
+ * gst/pcapparse/gstpcapparse.c: (gst_pcap_parse_class_init):
+ Remove unused code and fix includes.
+
2008-08-25 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* gst/deinterlace2/gstdeinterlace2.c:
* - Implement support for timestamping the buffers.
*/
-#include "gstpcapparse.h"
-
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
+#include "gstpcapparse.h"
+
#ifndef _MSC_VER
#include <arpa/inet.h>
#include <netinet/in.h>
+#include <string.h>
#else
#include <winsock2.h>
#endif
GST_STATIC_CAPS_ANY);
static void gst_pcap_parse_dispose (GObject * object);
-static void gst_pcap_parse_finalize (GObject * object);
static void gst_pcap_parse_get_property (GObject * object, guint prop_id,
GValue * value, GParamSpec * pspec);
static void gst_pcap_parse_set_property (GObject * object, guint prop_id,
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
gobject_class->dispose = gst_pcap_parse_dispose;
- gobject_class->finalize = gst_pcap_parse_finalize;
gobject_class->get_property = gst_pcap_parse_get_property;
gobject_class->set_property = gst_pcap_parse_set_property;
G_OBJECT_CLASS (parent_class)->dispose (object);
}
-static void
-gst_pcap_parse_finalize (GObject * object)
-{
- GstPcapParse *self = GST_PCAP_PARSE (object);
-
- G_OBJECT_CLASS (parent_class)->finalize (object);
-}
-
static const gchar *
get_ip_address_as_string (gint64 ip_addr)
{