Commit 09eeadb1 authored by Erik Walthinsen's avatar Erik Walthinsen

Reparented everything to GstElement, removing GstSrc, GstSink, GstFilter, and...

Reparented everything to GstElement, removing GstSrc, GstSink, GstFilter, and GstConnection.  Also fixed a bug in gst...

Original commit message from CVS:
Reparented everything to GstElement, removing GstSrc, GstSink, GstFilter,
and GstConnection.  Also fixed a bug in gst_bin_iterate_func.
parent 1768119d
......@@ -33,10 +33,6 @@ libgst_la_SOURCES = \
gstbin.c \
gstpipeline.c \
gstthread.c \
gstsrc.c \
gstfilter.c \
gstsink.c \
gstconnection.c \
gsttype.c \
gstcaps.c \
gstprops.c \
......@@ -65,10 +61,6 @@ libgstinclude_HEADERS = \
gstbin.h \
gstpipeline.h \
gstthread.h \
gstsrc.h \
gstfilter.h \
gstsink.h \
gstconnection.h \
gsttype.h \
gstcaps.h \
gstprops.h \
......
......@@ -63,7 +63,7 @@ static GstBuffer * gst_asyncdisksrc_get_region (GstPad *pad, gulong offset, gul
static GstElementStateReturn gst_asyncdisksrc_change_state (GstElement *element);
static GstSrcClass *parent_class = NULL;
static GstElementClass *parent_class = NULL;
//static guint gst_asyncdisksrc_signals[LAST_SIGNAL] = { 0 };
GtkType
......@@ -82,7 +82,7 @@ gst_asyncdisksrc_get_type(void)
(GtkArgGetFunc)gst_asyncdisksrc_get_arg,
(GtkClassInitFunc)NULL,
};
asyncdisksrc_type = gtk_type_unique (GST_TYPE_SRC, &asyncdisksrc_info);
asyncdisksrc_type = gtk_type_unique (GST_TYPE_ELEMENT, &asyncdisksrc_info);
}
return asyncdisksrc_type;
}
......@@ -92,13 +92,11 @@ gst_asyncdisksrc_class_init (GstAsyncDiskSrcClass *klass)
{
GtkObjectClass *gtkobject_class;
GstElementClass *gstelement_class;
GstSrcClass *gstsrc_class;
gtkobject_class = (GtkObjectClass*)klass;
gstelement_class = (GstElementClass*)klass;
gstsrc_class = (GstSrcClass*)klass;
parent_class = gtk_type_class (GST_TYPE_SRC);
parent_class = gtk_type_class (GST_TYPE_ELEMENT);
gtk_object_add_arg_type ("GstAsyncDiskSrc::location", GST_TYPE_FILENAME,
GTK_ARG_READWRITE, ARG_LOCATION);
......@@ -118,7 +116,7 @@ gst_asyncdisksrc_class_init (GstAsyncDiskSrcClass *klass)
static void
gst_asyncdisksrc_init (GstAsyncDiskSrc *asyncdisksrc)
{
GST_FLAG_SET (asyncdisksrc, GST_SRC_ASYNC);
// GST_FLAG_SET (asyncdisksrc, GST_SRC_ASYNC);
g_print("init\n");
asyncdisksrc->srcpad = gst_pad_new ("src", GST_PAD_SRC);
......@@ -221,7 +219,7 @@ gst_asyncdisksrc_get (GstPad *pad)
/* deal with EOF state */
if (src->curoffset >= src->size) {
gst_src_signal_eos (GST_SRC (src));
gst_element_signal_eos (GST_ELEMENT (src));
return NULL;
}
......@@ -276,7 +274,7 @@ gst_asyncdisksrc_get_region (GstPad *pad, gulong offset, gulong size)
/* deal with EOF state */
if (offset >= src->size) {
gst_src_signal_eos (GST_SRC (src));
gst_element_signal_eos (GST_ELEMENT (src));
return NULL;
}
......
......@@ -44,16 +44,16 @@ GstElementDetails gst_asyncdisksrc_details;
(GTK_CHECK_CLASS_TYPE((klass),GST_TYPE_ASYNCDISKSRC))
typedef enum {
GST_ASYNCDISKSRC_OPEN = GST_SRC_FLAG_LAST,
GST_ASYNCDISKSRC_OPEN = GST_ELEMENT_FLAG_LAST,
GST_ASYNCDISKSRC_FLAG_LAST = GST_SRC_FLAG_LAST + 2,
GST_ASYNCDISKSRC_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2,
} GstAsyncDiskSrcFlags;
typedef struct _GstAsyncDiskSrc GstAsyncDiskSrc;
typedef struct _GstAsyncDiskSrcClass GstAsyncDiskSrcClass;
struct _GstAsyncDiskSrc {
GstSrc src;
GstElement element;
/* pads */
GstPad *srcpad;
......@@ -75,7 +75,7 @@ struct _GstAsyncDiskSrc {
};
struct _GstAsyncDiskSrcClass {
GstSrcClass parent_class;
GstElementClass parent_class;
};
GtkType gst_asyncdisksrc_get_type(void);
......
......@@ -115,7 +115,7 @@ gst_audiosink_channels_get_type(void) {
}
static GstSinkClass *parent_class = NULL;
static GstElementClass *parent_class = NULL;
static guint gst_audiosink_signals[LAST_SIGNAL] = { 0 };
static GstPadTemplate *gst_audiosink_sink_template;
......@@ -136,7 +136,7 @@ gst_audiosink_get_type (void)
(GtkArgGetFunc)NULL,
(GtkClassInitFunc)NULL,
};
audiosink_type = gtk_type_unique (GST_TYPE_SINK, &audiosink_info);
audiosink_type = gtk_type_unique (GST_TYPE_ELEMENT, &audiosink_info);
}
return audiosink_type;
......@@ -151,7 +151,7 @@ gst_audiosink_class_init (GstAudioSinkClass *klass)
gtkobject_class = (GtkObjectClass*)klass;
gstelement_class = (GstElementClass*)klass;
parent_class = gtk_type_class(GST_TYPE_FILTER);
parent_class = gtk_type_class(GST_TYPE_ELEMENT);
gtk_object_add_arg_type ("GstAudioSink::mute", GTK_TYPE_BOOL,
GTK_ARG_READWRITE, ARG_MUTE);
......
......@@ -46,16 +46,16 @@ GstElementDetails gst_audiosink_details;
(GTK_CHECK_CLASS_TYPE((klass),GST_TYPE_AUDIOSINK))
typedef enum {
GST_AUDIOSINK_OPEN = GST_SINK_FLAG_LAST,
GST_AUDIOSINK_OPEN = GST_ELEMENT_FLAG_LAST,
GST_AUDIOSINK_FLAG_LAST = GST_SINK_FLAG_LAST+2,
GST_AUDIOSINK_FLAG_LAST = GST_ELEMENT_FLAG_LAST+2,
} GstAudioSinkFlags;
typedef struct _GstAudioSink GstAudioSink;
typedef struct _GstAudioSinkClass GstAudioSinkClass;
struct _GstAudioSink {
GstSink sink;
GstElement element;
GstPad *sinkpad;
......@@ -71,7 +71,7 @@ struct _GstAudioSink {
};
struct _GstAudioSinkClass {
GstSinkClass parent_class;
GstElementClass parent_class;
/* signals */
void (*handoff) (GstElement *element,GstPad *pad);
......
......@@ -66,7 +66,7 @@ static void gst_audiosrc_sync_parms (GstAudioSrc *audiosrc);
static GstBuffer * gst_audiosrc_get (GstPad *pad);
static GstSrcClass *parent_class = NULL;
static GstElementClass *parent_class = NULL;
//static guint gst_audiosrc_signals[LAST_SIGNAL] = { 0 };
GtkType
......@@ -85,7 +85,7 @@ gst_audiosrc_get_type (void)
(GtkArgGetFunc)gst_audiosrc_get_arg,
(GtkClassInitFunc)NULL,
};
audiosrc_type = gtk_type_unique (GST_TYPE_SRC, &audiosrc_info);
audiosrc_type = gtk_type_unique (GST_TYPE_ELEMENT, &audiosrc_info);
}
return audiosrc_type;
}
......@@ -95,13 +95,11 @@ gst_audiosrc_class_init (GstAudioSrcClass *klass)
{
GtkObjectClass *gtkobject_class;
GstElementClass *gstelement_class;
GstSrcClass *gstsrc_class;
gtkobject_class = (GtkObjectClass*)klass;
gstelement_class = (GstElementClass*)klass;
gstsrc_class = (GstSrcClass*)klass;
parent_class = gtk_type_class (GST_TYPE_SRC);
parent_class = gtk_type_class (GST_TYPE_ELEMENT);
gtk_object_add_arg_type ("GstAudioSrc::bytes_per_read", GTK_TYPE_ULONG,
GTK_ARG_READWRITE, ARG_BYTESPERREAD);
......@@ -161,7 +159,7 @@ gst_audiosrc_get (GstPad *pad)
src->bytes_per_read);
if (readbytes == 0) {
gst_src_signal_eos (GST_SRC (src));
gst_element_signal_eos (GST_ELEMENT (src));
return NULL;
}
......
......@@ -47,16 +47,16 @@ GstElementDetails gst_audiosrc_details;
(GTK_CHECK_CLASS_TYPE((klass),GST_TYPE_AUDIOSRC))
typedef enum {
GST_AUDIOSRC_OPEN = GST_SRC_FLAG_LAST,
GST_AUDIOSRC_OPEN = GST_ELEMENT_FLAG_LAST,
GST_AUDIOSRC_FLAG_LAST = GST_SRC_FLAG_LAST+2,
GST_AUDIOSRC_FLAG_LAST = GST_ELEMENT_FLAG_LAST+2,
} GstAudioSrcFlags;
typedef struct _GstAudioSrc GstAudioSrc;
typedef struct _GstAudioSrcClass GstAudioSrcClass;
struct _GstAudioSrc {
GstSrc src;
GstElement element;
/* pads */
GstPad *srcpad;
......@@ -79,7 +79,7 @@ struct _GstAudioSrc {
};
struct _GstAudioSrcClass {
GstSrcClass parent_class;
GstElementClass parent_class;
};
GtkType gst_audiosrc_get_type(void);
......
......@@ -63,7 +63,7 @@ static GstBuffer * gst_disksrc_get (GstPad *pad);
static GstElementStateReturn gst_disksrc_change_state (GstElement *element);
static GstSrcClass *parent_class = NULL;
static GstElementClass *parent_class = NULL;
//static guint gst_disksrc_signals[LAST_SIGNAL] = { 0 };
GtkType
......@@ -81,7 +81,7 @@ gst_disksrc_get_type(void) {
(GtkArgGetFunc)gst_disksrc_get_arg,
(GtkClassInitFunc)NULL,
};
disksrc_type = gtk_type_unique(GST_TYPE_SRC,&disksrc_info);
disksrc_type = gtk_type_unique(GST_TYPE_ELEMENT,&disksrc_info);
}
return disksrc_type;
}
......@@ -91,13 +91,11 @@ gst_disksrc_class_init (GstDiskSrcClass *klass)
{
GtkObjectClass *gtkobject_class;
GstElementClass *gstelement_class;
GstSrcClass *gstsrc_class;
gtkobject_class = (GtkObjectClass*)klass;
gstelement_class = (GstElementClass*)klass;
gstsrc_class = (GstSrcClass*)klass;
parent_class = gtk_type_class (GST_TYPE_SRC);
parent_class = gtk_type_class (GST_TYPE_ELEMENT);
gtk_object_add_arg_type ("GstDiskSrc::location", GST_TYPE_FILENAME,
GTK_ARG_READWRITE, ARG_LOCATION);
......@@ -227,7 +225,7 @@ gst_disksrc_get (GstPad *pad)
gst_buffer_unref (buf);
return NULL;
} else if (readbytes == 0) {
gst_src_signal_eos (GST_SRC (src));
gst_element_signal_eos (GST_ELEMENT (src));
gst_buffer_unref (buf);
return NULL;
}
......
......@@ -46,16 +46,16 @@ extern GstElementDetails gst_disksrc_details;
(GTK_CHECK_CLASS_TYPE((klass),GST_TYPE_DISKSRC))
typedef enum {
GST_DISKSRC_OPEN = GST_SRC_FLAG_LAST,
GST_DISKSRC_OPEN = GST_ELEMENT_FLAG_LAST,
GST_DISKSRC_FLAG_LAST = GST_SRC_FLAG_LAST+2,
GST_DISKSRC_FLAG_LAST = GST_ELEMENT_FLAG_LAST+2,
} GstDiskSrcFlags;
typedef struct _GstDiskSrc GstDiskSrc;
typedef struct _GstDiskSrcClass GstDiskSrcClass;
struct _GstDiskSrc {
GstSrc src;
GstElement element;
/* pads */
GstPad *srcpad;
......@@ -72,7 +72,7 @@ struct _GstDiskSrc {
};
struct _GstDiskSrcClass {
GstSrcClass parent_class;
GstElementClass parent_class;
};
GtkType gst_disksrc_get_type(void);
......
......@@ -29,14 +29,15 @@
#include <gstfakesrc.h>
#include <gstfdsink.h>
#include <gstfdsrc.h>
#if HAVE_LIBGHTTP
#include <gsthttpsrc.h>
#endif /* HAVE_LIBGHTTP */
#include <gstpipefilter.h>
#include <gstqueue.h>
#include <gstsinesrc.h>
#include <gsttypefind.h>
#if HAVE_LIBGHTTP
#include <gsthttpsrc.h>
#endif /* HAVE_LIBGHTTP */
struct _elements_entry {
gchar *name;
......@@ -55,13 +56,14 @@ static struct _elements_entry _elements[] = {
{ "identity", gst_identity_get_type, &gst_identity_details, NULL },
{ "fdsink", gst_fdsink_get_type, &gst_fdsink_details, NULL },
{ "fdsrc", gst_fdsrc_get_type, &gst_fdsrc_details, NULL },
#if HAVE_LIBGHTTP
{ "httpsrc", gst_httpsrc_get_type, &gst_httpsrc_details, NULL },
#endif /* HAVE_LIBGHTTP */
{ "pipefilter", gst_pipefilter_get_type, &gst_pipefilter_details, NULL },
{ "queue", gst_queue_get_type, &gst_queue_details, NULL },
{ "sinesrc", gst_sinesrc_get_type, &gst_sinesrc_details, NULL },
{ "typefind", gst_typefind_get_type, &gst_typefind_details, NULL },
#if HAVE_LIBGHTTP
{ "httpsrc", gst_httpsrc_get_type, &gst_httpsrc_details, NULL },
#endif /* HAVE_LIBGHTTP */
{ NULL, 0 },
};
......
......@@ -49,7 +49,7 @@ static void gst_fakesink_init(GstFakeSink *fakesink);
static void gst_fakesink_chain(GstPad *pad,GstBuffer *buf);
static GstSinkClass *parent_class = NULL;
static GstElementClass *parent_class = NULL;
static guint gst_fakesink_signals[LAST_SIGNAL] = { 0 };
GtkType
......@@ -68,7 +68,7 @@ gst_fakesink_get_type (void)
(GtkArgGetFunc)NULL,
(GtkClassInitFunc)NULL,
};
fakesink_type = gtk_type_unique (GST_TYPE_SINK, &fakesink_info);
fakesink_type = gtk_type_unique (GST_TYPE_ELEMENT, &fakesink_info);
}
return fakesink_type;
}
......@@ -77,10 +77,8 @@ static void
gst_fakesink_class_init (GstFakeSinkClass *klass)
{
GtkObjectClass *gtkobject_class;
GstSinkClass *gstsink_class;
gtkobject_class = (GtkObjectClass*)klass;
gstsink_class = (GstSinkClass*)klass;
gst_fakesink_signals[SIGNAL_HANDOFF] =
gtk_signal_new ("handoff", GTK_RUN_LAST, gtkobject_class->type,
......@@ -90,7 +88,7 @@ gst_fakesink_class_init (GstFakeSinkClass *klass)
gtk_object_class_add_signals (gtkobject_class, gst_fakesink_signals,
LAST_SIGNAL);
parent_class = gtk_type_class (GST_TYPE_SINK);
parent_class = gtk_type_class (GST_TYPE_ELEMENT);
}
static void
......
......@@ -49,13 +49,13 @@ typedef struct _GstFakeSink GstFakeSink;
typedef struct _GstFakeSinkClass GstFakeSinkClass;
struct _GstFakeSink {
GstSink sink;
GstElement element;
GstPad *sinkpad;
};
struct _GstFakeSinkClass {
GstSinkClass parent_class;
GstElementClass parent_class;
/* signals */
void (*handoff) (GstElement *element,GstPad *pad);
......
......@@ -76,7 +76,7 @@ static void gst_fakesrc_get_arg (GtkObject *object, GtkArg *arg, guint id);
static GstBuffer* gst_fakesrc_get (GstPad *pad);
static void gst_fakesrc_loop (GstElement *element);
static GstSrcClass *parent_class = NULL;
static GstElementClass *parent_class = NULL;
static guint gst_fakesrc_signals[LAST_SIGNAL] = { 0 };
GtkType
......@@ -95,7 +95,7 @@ gst_fakesrc_get_type (void)
(GtkArgGetFunc)NULL,
(GtkClassInitFunc)NULL,
};
fakesrc_type = gtk_type_unique (GST_TYPE_SRC, &fakesrc_info);
fakesrc_type = gtk_type_unique (GST_TYPE_ELEMENT, &fakesrc_info);
}
return fakesrc_type;
}
......@@ -104,12 +104,10 @@ static void
gst_fakesrc_class_init (GstFakeSrcClass *klass)
{
GtkObjectClass *gtkobject_class;
GstSrcClass *gstsrc_class;
gtkobject_class = (GtkObjectClass*)klass;
gstsrc_class = (GstSrcClass*)klass;
parent_class = gtk_type_class (GST_TYPE_SRC);
parent_class = gtk_type_class (GST_TYPE_ELEMENT);
gtk_object_add_arg_type ("GstFakeSrc::num_sources", GTK_TYPE_INT,
GTK_ARG_READWRITE, ARG_NUM_SOURCES);
......
......@@ -59,7 +59,7 @@ typedef struct _GstFakeSrc GstFakeSrc;
typedef struct _GstFakeSrcClass GstFakeSrcClass;
struct _GstFakeSrc {
GstSrc src;
GstElement element;
gboolean loop_based;
gint numsrcpads;
......@@ -70,7 +70,7 @@ struct _GstFakeSrc {
};
struct _GstFakeSrcClass {
GstSrcClass parent_class;
GstElementClass parent_class;
/* signals */
void (*handoff) (GstElement *element,GstPad *pad);
......
......@@ -51,7 +51,7 @@ static void gst_fdsink_get_arg (GtkObject *object, GtkArg *arg, guint id);
static void gst_fdsink_chain (GstPad *pad,GstBuffer *buf);
static GstSinkClass *parent_class = NULL;
static GstElementClass *parent_class = NULL;
//static guint gst_fdsink_signals[LAST_SIGNAL] = { 0 };
GtkType
......@@ -70,7 +70,7 @@ gst_fdsink_get_type (void)
(GtkArgGetFunc)gst_fdsink_get_arg,
(GtkClassInitFunc)NULL,
};
fdsink_type = gtk_type_unique (GST_TYPE_SINK, &fdsink_info);
fdsink_type = gtk_type_unique (GST_TYPE_ELEMENT, &fdsink_info);
}
return fdsink_type;
}
......@@ -79,12 +79,10 @@ static void
gst_fdsink_class_init (GstFdSinkClass *klass)
{
GtkObjectClass *gtkobject_class;
GstSinkClass *gstsink_class;
gtkobject_class = (GtkObjectClass*)klass;
gstsink_class = (GstSinkClass*)klass;
parent_class = gtk_type_class (GST_TYPE_SINK);
parent_class = gtk_type_class (GST_TYPE_ELEMENT);
gtk_object_add_arg_type ("GstFdSink::fd", GTK_TYPE_INT,
GTK_ARG_READWRITE, ARG_FD);
......
......@@ -49,7 +49,7 @@ typedef struct _GstFdSink GstFdSink;
typedef struct _GstFdSinkClass GstFdSinkClass;
struct _GstFdSink {
GstSink sink;
GstElement element;
GstPad *sinkpad;
......@@ -57,7 +57,7 @@ struct _GstFdSink {
};
struct _GstFdSinkClass {
GstSinkClass parent_class;
GstElementClass parent_class;
};
GtkType gst_fdsink_get_type(void);
......
......@@ -60,7 +60,7 @@ static void gst_fdsrc_get_arg (GtkObject *object, GtkArg *arg, guint id);
static GstBuffer * gst_fdsrc_get (GstPad *pad);
static GstSrcClass *parent_class = NULL;
static GstElementClass *parent_class = NULL;
//static guint gst_fdsrc_signals[LAST_SIGNAL] = { 0 };
GtkType
......@@ -79,7 +79,7 @@ gst_fdsrc_get_type (void)
(GtkArgGetFunc)gst_fdsrc_get_arg,
(GtkClassInitFunc)NULL,
};
fdsrc_type = gtk_type_unique (GST_TYPE_SRC, &fdsrc_info);
fdsrc_type = gtk_type_unique (GST_TYPE_ELEMENT, &fdsrc_info);
}
return fdsrc_type;
}
......@@ -88,12 +88,10 @@ static void
gst_fdsrc_class_init (GstFdSrcClass *klass)
{
GtkObjectClass *gtkobject_class;
GstSrcClass *gstsrc_class;
gtkobject_class = (GtkObjectClass*)klass;
gstsrc_class = (GstSrcClass*)klass;
parent_class = gtk_type_class(GST_TYPE_SRC);
parent_class = gtk_type_class(GST_TYPE_ELEMENT);
gtk_object_add_arg_type ("GstFdSrc::location", GST_TYPE_FILENAME,
GTK_ARG_WRITABLE, ARG_LOCATION);
......@@ -197,7 +195,7 @@ gst_fdsrc_get(GstPad *pad)
/* read it in from the file */
readbytes = read(src->fd,GST_BUFFER_DATA(buf),src->bytes_per_read);
if (readbytes == 0) {
gst_src_signal_eos(GST_SRC(src));
gst_element_signal_eos(GST_ELEMENT(src));
return NULL;
}
......
......@@ -50,7 +50,7 @@ typedef struct _GstFdSrc GstFdSrc;
typedef struct _GstFdSrcClass GstFdSrcClass;
struct _GstFdSrc {
GstSrc src;
GstElement element;
/* pads */
GstPad *srcpad;
......@@ -64,7 +64,7 @@ struct _GstFdSrc {
};
struct _GstFdSrcClass {
GstSrcClass parent_class;
GstElementClass parent_class;
};
GtkType gst_fdsrc_get_type(void);
......
......@@ -61,7 +61,7 @@ static gboolean gst_httpsrc_open_url (GstHttpSrc *src);
static void gst_httpsrc_close_url (GstHttpSrc *src);
static GstSrcClass *parent_class = NULL;
static GstElementClass *parent_class = NULL;
//static guint gst_httpsrc_signals[LAST_SIGNAL] = { 0 };
GtkType
......@@ -80,7 +80,7 @@ gst_httpsrc_get_type (void)
(GtkArgGetFunc)gst_httpsrc_get_arg,
(GtkClassInitFunc)NULL,
};
httpsrc_type = gtk_type_unique (GST_TYPE_SRC, &httpsrc_info);
httpsrc_type = gtk_type_unique (GST_TYPE_ELEMENT, &httpsrc_info);
}
return httpsrc_type;
}
......@@ -90,13 +90,11 @@ gst_httpsrc_class_init (GstHttpSrcClass *klass)
{
GtkObjectClass *gtkobject_class;
GstElementClass *gstelement_class;
GstSrcClass *gstsrc_class;
gtkobject_class = (GtkObjectClass*)klass;
gstelement_class = (GstElementClass*)klass;
gstsrc_class = (GstSrcClass*)klass;
parent_class = gtk_type_class (GST_TYPE_SRC);
parent_class = gtk_type_class (GST_TYPE_ELEMENT);
gtk_object_add_arg_type ("GstHttpSrc::location", GTK_TYPE_STRING,
......@@ -137,7 +135,7 @@ gst_httpsrc_get(GstPad *pad)
readbytes = read(src->fd,GST_BUFFER_DATA(buf),src->bytes_per_read);
if (readbytes == 0) {
gst_src_signal_eos(GST_SRC(src));
gst_element_signal_eos(GST_ELEMENT(src));
return NULL;
}
......
......@@ -48,16 +48,16 @@ GstElementDetails gst_httpsrc_details;
(GTK_CHECK_CLASS_TYPE((klass),GST_TYPE_HTTPSRC))
typedef enum {
GST_HTTPSRC_OPEN = GST_SRC_FLAG_LAST,
GST_HTTPSRC_OPEN = GST_ELEMENT_FLAG_LAST,
GST_HTTPSRC_FLAG_LAST = GST_SRC_FLAG_LAST+2,
GST_HTTPSRC_FLAG_LAST = GST_ELEMENT_FLAG_LAST+2,
} GstHttpSrcFlags;
typedef struct _GstHttpSrc GstHttpSrc;
typedef struct _GstHttpSrcClass GstHttpSrcClass;