netbuffer: disable GstNetBuffer object
There are no more buffer subclasses and this should be implemented with buffermetadata later.
This commit is contained in:
parent
4e4a0377d7
commit
263bfae950
@ -34,6 +34,7 @@
|
|||||||
|
|
||||||
#include "gstnetbuffer.h"
|
#include "gstnetbuffer.h"
|
||||||
|
|
||||||
|
#if 0
|
||||||
static void gst_netbuffer_finalize (GstNetBuffer * nbuf);
|
static void gst_netbuffer_finalize (GstNetBuffer * nbuf);
|
||||||
static GstNetBuffer *gst_netbuffer_copy (GstNetBuffer * nbuf);
|
static GstNetBuffer *gst_netbuffer_copy (GstNetBuffer * nbuf);
|
||||||
|
|
||||||
@ -104,6 +105,7 @@ gst_netbuffer_new (void)
|
|||||||
|
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_netaddress_set_ip4_address:
|
* gst_netaddress_set_ip4_address:
|
||||||
|
@ -24,16 +24,20 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
#if 0
|
||||||
typedef struct _GstNetBuffer GstNetBuffer;
|
typedef struct _GstNetBuffer GstNetBuffer;
|
||||||
typedef struct _GstNetBufferClass GstNetBufferClass;
|
typedef struct _GstNetBufferClass GstNetBufferClass;
|
||||||
|
#endif
|
||||||
typedef struct _GstNetAddress GstNetAddress;
|
typedef struct _GstNetAddress GstNetAddress;
|
||||||
|
|
||||||
|
#if 0
|
||||||
#define GST_TYPE_NETBUFFER (gst_netbuffer_get_type())
|
#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(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_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_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(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))
|
#define GST_NETBUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_NETBUFFER, GstNetBufferClass))
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstNetType:
|
* GstNetType:
|
||||||
@ -76,6 +80,7 @@ struct _GstNetAddress {
|
|||||||
gpointer _gst_reserved[GST_PADDING];
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if 0
|
||||||
/**
|
/**
|
||||||
* GstNetBuffer:
|
* GstNetBuffer:
|
||||||
* @buffer: the parent #GstBuffer
|
* @buffer: the parent #GstBuffer
|
||||||
@ -106,6 +111,7 @@ struct _GstNetBufferClass {
|
|||||||
GType gst_netbuffer_get_type (void);
|
GType gst_netbuffer_get_type (void);
|
||||||
|
|
||||||
GstNetBuffer* gst_netbuffer_new (void);
|
GstNetBuffer* gst_netbuffer_new (void);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* address operations */
|
/* address operations */
|
||||||
void gst_netaddress_set_ip4_address (GstNetAddress *naddr, guint32 address, guint16 port);
|
void gst_netaddress_set_ip4_address (GstNetAddress *naddr, guint32 address, guint16 port);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user