diff --git a/gst-libs/gst/netbuffer/gstnetbuffer.c b/gst-libs/gst/netbuffer/gstnetbuffer.c index 6328a7690b..c3a7a4cc1a 100644 --- a/gst-libs/gst/netbuffer/gstnetbuffer.c +++ b/gst-libs/gst/netbuffer/gstnetbuffer.c @@ -34,6 +34,7 @@ #include "gstnetbuffer.h" +#if 0 static void gst_netbuffer_finalize (GstNetBuffer * nbuf); static GstNetBuffer *gst_netbuffer_copy (GstNetBuffer * nbuf); @@ -104,6 +105,7 @@ gst_netbuffer_new (void) return buf; } +#endif /** * gst_netaddress_set_ip4_address: diff --git a/gst-libs/gst/netbuffer/gstnetbuffer.h b/gst-libs/gst/netbuffer/gstnetbuffer.h index 91770e4d5c..c7a906ff1a 100644 --- a/gst-libs/gst/netbuffer/gstnetbuffer.h +++ b/gst-libs/gst/netbuffer/gstnetbuffer.h @@ -24,16 +24,20 @@ G_BEGIN_DECLS +#if 0 typedef struct _GstNetBuffer GstNetBuffer; typedef struct _GstNetBufferClass GstNetBufferClass; +#endif typedef struct _GstNetAddress GstNetAddress; +#if 0 #define GST_TYPE_NETBUFFER (gst_netbuffer_get_type()) #define GST_IS_NETBUFFER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_NETBUFFER)) #define GST_IS_NETBUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_NETBUFFER)) #define GST_NETBUFFER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_NETBUFFER, GstNetBufferClass)) #define GST_NETBUFFER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_NETBUFFER, GstNetBuffer)) #define GST_NETBUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_NETBUFFER, GstNetBufferClass)) +#endif /** * GstNetType: @@ -76,6 +80,7 @@ struct _GstNetAddress { gpointer _gst_reserved[GST_PADDING]; }; +#if 0 /** * GstNetBuffer: * @buffer: the parent #GstBuffer @@ -106,6 +111,7 @@ struct _GstNetBufferClass { GType gst_netbuffer_get_type (void); GstNetBuffer* gst_netbuffer_new (void); +#endif /* address operations */ void gst_netaddress_set_ip4_address (GstNetAddress *naddr, guint32 address, guint16 port);