diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2008-01-15 15:40:58 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2008-01-15 15:40:58 +0000 |
commit | 5b8e97b8ce9c7eecc148331bab300b1889d753ca (patch) | |
tree | 2fc6c8a5ce561d2e9289695f191674ab5c023fba /gst/multipart/multipartdemux.c | |
parent | 04c899f757c04d1bfa6e8b0107b6524c0d84b2f9 (diff) |
Re-add multipartdemux to the docs. Last round of section cleanup.
Original commit message from CVS:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* gst/multipart/Makefile.am:
* gst/multipart/multipartdemux.c:
* gst/multipart/multipartdemux.h:
* gst/multipart/multipartmux.c:
* gst/multipart/multipartmux.h:
Re-add multipartdemux to the docs. Last round of section cleanup.
Diffstat (limited to 'gst/multipart/multipartdemux.c')
-rw-r--r-- | gst/multipart/multipartdemux.c | 63 |
1 files changed, 1 insertions, 62 deletions
diff --git a/gst/multipart/multipartdemux.c b/gst/multipart/multipartdemux.c index 67cb7372..b4cbbd75 100644 --- a/gst/multipart/multipartdemux.c +++ b/gst/multipart/multipartdemux.c @@ -57,68 +57,7 @@ #include "config.h" #endif -#include <gst/gst.h> -#include <gst/base/gstadapter.h> - -#include <string.h> - -#define GST_TYPE_MULTIPART_DEMUX (gst_multipart_demux_get_type()) -#define GST_MULTIPART_DEMUX(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_MULTIPART_DEMUX, GstMultipartDemux)) -#define GST_MULTIPART_DEMUX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_MULTIPART_DEMUX, GstMultipartDemux)) -#define GST_IS_MULTIPART_DEMUX(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_MULTIPART_DEMUX)) -#define GST_IS_MULTIPART_DEMUX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_MULTIPART_DEMUX)) - -typedef struct _GstMultipartDemux GstMultipartDemux; -typedef struct _GstMultipartDemuxClass GstMultipartDemuxClass; - -#define MULTIPART_NEED_MORE_DATA -1 -#define MULTIPART_DATA_ERROR -2 -#define MULTIPART_DATA_EOS -3 - -/* all information needed for one multipart stream */ -typedef struct -{ - GstPad *pad; /* reference for this pad is held by element we belong to */ - - gchar *mime; -} -GstMultipartPad; - -/** - * GstMultipartDemux: - * - * The opaque #GstMultipartDemux structure. - */ -struct _GstMultipartDemux -{ - GstElement element; - - /* pad */ - GstPad *sinkpad; - - GSList *srcpads; - gint numpads; - - GstAdapter *adapter; - - /* Header information of the current frame */ - gboolean header_completed; - gchar *boundary; - guint boundary_len; - gchar *mime_type; - gint content_length; - - /* deprecated, unused */ - gboolean autoscan; - - /* Index inside the current data when manually looking for the boundary */ - gint scanpos; -}; - -struct _GstMultipartDemuxClass -{ - GstElementClass parent_class; -}; +#include "multipartdemux.h" GST_DEBUG_CATEGORY_STATIC (gst_multipart_demux_debug); #define GST_CAT_DEFAULT gst_multipart_demux_debug |