mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 23:58:17 +00:00
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
2 changed files with 8 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue