diff options
author | Edgard Lima <edgard.lima@indt.org.br> | 2007-11-02 16:50:42 +0000 |
---|---|---|
committer | Edgard Lima <edgard.lima@indt.org.br> | 2007-11-02 16:50:42 +0000 |
commit | f17824d0d1c0c30815cbcf3bcae7997773e367c5 (patch) | |
tree | 39e0b76ca41fae844d906e42bdab3034a3129215 /ext/metadata/gstmetadataparse.h | |
parent | 05e1fdf681397cc6b3f5ed115cf4e3519272f2b2 (diff) | |
download | gst-plugins-bad-f17824d0d1c0c30815cbcf3bcae7997773e367c5.tar.gz gst-plugins-bad-f17824d0d1c0c30815cbcf3bcae7997773e367c5.tar.bz2 gst-plugins-bad-f17824d0d1c0c30815cbcf3bcae7997773e367c5.zip |
Added support for PNG/XMP. Indentation. And fixed pull mode to parse the file.
Original commit message from CVS:
Added support for PNG/XMP. Indentation. And fixed pull mode to parse the file.
Diffstat (limited to 'ext/metadata/gstmetadataparse.h')
-rw-r--r-- | ext/metadata/gstmetadataparse.h | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/ext/metadata/gstmetadataparse.h b/ext/metadata/gstmetadataparse.h index 5ae49cb3..eb1f802d 100644 --- a/ext/metadata/gstmetadataparse.h +++ b/ext/metadata/gstmetadataparse.h @@ -49,7 +49,6 @@ #include "metadataparse.h" G_BEGIN_DECLS - /* #defines don't like whitespacey bits */ #define GST_TYPE_METADATA_PARSE \ (gst_metadata_parse_get_type()) @@ -61,13 +60,12 @@ G_BEGIN_DECLS (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_METADATA_PARSE)) #define GST_IS_METADATA_PARSE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_METADATA_PARSE)) - -typedef struct _GstMetadataParse GstMetadataParse; +typedef struct _GstMetadataParse GstMetadataParse; typedef struct _GstMetadataParseClass GstMetadataParseClass; -typedef enum _tag_MetadataState { - MT_STATE_NULL, /* still need to check media type */ - MT_STATE_READING, +typedef enum _tag_MetadataState +{ + MT_STATE_NULL, /* still need to check media type */ MT_STATE_PARSED } MetadataState; @@ -85,7 +83,7 @@ struct _GstMetadataParse GstTagList *taglist; ParseData parse_data; - GstAdapter * adapter; + GstAdapter *adapter; guint32 next_offset; guint32 next_size; ImageType img_type; @@ -98,17 +96,14 @@ struct _GstMetadataParse }; -struct _GstMetadataParseClass +struct _GstMetadataParseClass { GstElementClass parent_class; }; -extern GType -gst_metadata_parse_get_type (void); +extern GType gst_metadata_parse_get_type (void); -extern gboolean -gst_metadata_parse_plugin_init (GstPlugin * plugin); +extern gboolean gst_metadata_parse_plugin_init (GstPlugin * plugin); G_END_DECLS - #endif /* __GST_METADATA_PARSE_H__ */ |