summaryrefslogtreecommitdiffstats
path: root/ext/metadata/gstmetadataparse.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/metadata/gstmetadataparse.h')
-rw-r--r--ext/metadata/gstmetadataparse.h24
1 files changed, 9 insertions, 15 deletions
diff --git a/ext/metadata/gstmetadataparse.h b/ext/metadata/gstmetadataparse.h
index 17d0fcb3..0243261e 100644
--- a/ext/metadata/gstmetadataparse.h
+++ b/ext/metadata/gstmetadataparse.h
@@ -79,30 +79,26 @@ struct _GstMetadataParse
gboolean iptc;
gboolean xmp;
- gint64 seg_offset_orig[3]; /* offset in chunk in original stream */
- guint32 seg_size[3];
-
- gint64 seg_inject_offset[3]; /* offset of chunk in resulting stream */
- guint32 seg_inject_size[3];
- guint8 * seg_inject_data[3];
-
- gint8 num_segs;
-
gboolean need_send_tag;
GstTagList *taglist;
ParseData parse_data;
- GstAdapter *adapter;
+ GstAdapter *adapter_parsing;
+ GstAdapter *adapter_holding;
guint32 next_offset;
guint32 next_size;
ImageType img_type;
- gint64 offset_orig;
- gint64 duration;
- gint64 offset;
+ gint64 offset_orig; /* offset in original stream */
+ gint64 duration_orig; /* durarion of stream */
+ gint64 offset; /* offset in current stream */
+ gint64 duration; /* durarion of modified stream */
MetadataState state;
+ GstBuffer * prepend_buffer;
+ GstBuffer * append_buffer;
+
gboolean need_more_data;
@@ -116,7 +112,5 @@ struct _GstMetadataParseClass
extern GType gst_metadata_parse_get_type (void);
-extern gboolean gst_metadata_parse_plugin_init (GstPlugin * plugin);
-
G_END_DECLS
#endif /* __GST_METADATA_PARSE_H__ */