diff options
author | Edgard Lima <edgard.lima@indt.org.br> | 2007-12-19 09:50:47 +0000 |
---|---|---|
committer | Edgard Lima <edgard.lima@indt.org.br> | 2007-12-19 09:50:47 +0000 |
commit | 1007d715038e4f7b4db19e2973952ffa207ae6d7 (patch) | |
tree | c1a3e159c21501d6808b8038182d078ff6c5bc2f /ext/metadata/gstmetadatamux.h | |
parent | e4a1115a2258091ccdc015c1d1b0b03f27c219af (diff) | |
download | gst-plugins-bad-1007d715038e4f7b4db19e2973952ffa207ae6d7.tar.gz gst-plugins-bad-1007d715038e4f7b4db19e2973952ffa207ae6d7.tar.bz2 gst-plugins-bad-1007d715038e4f7b4db19e2973952ffa207ae6d7.zip |
New base class for metadata elements.
Original commit message from CVS:
New base class for metadata elements.
Diffstat (limited to 'ext/metadata/gstmetadatamux.h')
-rw-r--r-- | ext/metadata/gstmetadatamux.h | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/ext/metadata/gstmetadatamux.h b/ext/metadata/gstmetadatamux.h index 8b123f51..cafd6e08 100644 --- a/ext/metadata/gstmetadatamux.h +++ b/ext/metadata/gstmetadatamux.h @@ -46,7 +46,7 @@ #include <gst/gst.h> -#include "gstmetadatacommon.h" +#include "gstbasemetadata.h" G_BEGIN_DECLS /* #defines don't like whitespacey bits */ @@ -65,34 +65,12 @@ typedef struct _GstMetadataMuxClass GstMetadataMuxClass; struct _GstMetadataMux { - GstElement element; - - GstPad *sinkpad, *srcpad; - - GstMetadataCommon common; - - guint8 options; - - GstAdapter *adapter_parsing; - GstAdapter *adapter_holding; - guint32 next_offset; - guint32 next_size; - ImageType img_type; - - gint64 offset_orig; /* offset in original stream */ - gint64 offset; /* offset in current stream */ - - GstBuffer * prepend_buffer; - - gboolean need_more_data; - - gboolean need_calculate_offset; /* mux need to calculate offsets of insert chunks */ - + GstBaseMetadata element; }; struct _GstMetadataMuxClass { - GstElementClass parent_class; + GstBaseMetadataClass parent_class; }; extern GType gst_metadata_mux_get_type (void); |