From: <bi...@ke...> - 2008-08-26 11:01:47
|
CVS Root: /cvs/gstreamer Module: gst-plugins-bad Changes by: bilboed Date: Tue Aug 26 2008 11:01:57 UTC Log message: * gst/pcapparse/gstpcapparse.c: (gst_pcap_parse_class_init): Remove unused code and fix includes. Modified files: . : ChangeLog gst/pcapparse : gstpcapparse.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/ChangeLog.diff?r1=1.3507&r2=1.3508 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/gst/pcapparse/gstpcapparse.c.diff?r1=1.2&r2=1.3 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins-bad/ChangeLog,v retrieving revision 1.3507 retrieving revision 1.3508 diff -u -d -r1.3507 -r1.3508 --- ChangeLog 25 Aug 2008 14:37:43 -0000 1.3507 +++ ChangeLog 26 Aug 2008 11:01:42 -0000 1.3508 @@ -1,3 +1,8 @@ +2008-08-26 Edward Hervey <edw...@co...> + + * gst/pcapparse/gstpcapparse.c: (gst_pcap_parse_class_init): + Remove unused code and fix includes. 2008-08-25 Sebastian Dröge <seb...@co...> * gst/deinterlace2/gstdeinterlace2.c: Index: gstpcapparse.c RCS file: /cvs/gstreamer/gst-plugins-bad/gst/pcapparse/gstpcapparse.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- gstpcapparse.c 24 Aug 2008 16:55:48 -0000 1.2 +++ gstpcapparse.c 26 Aug 2008 11:01:43 -0000 1.3 @@ -40,15 +40,16 @@ * - 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> @@ -76,7 +77,6 @@ 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, @@ -113,7 +113,6 @@ 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; @@ -171,14 +170,6 @@ 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) { |