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/metadata.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/metadata.h')
-rw-r--r-- | ext/metadata/metadata.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/metadata/metadata.h b/ext/metadata/metadata.h index 2853136d..6150cc8e 100644 --- a/ext/metadata/metadata.h +++ b/ext/metadata/metadata.h @@ -56,14 +56,16 @@ G_BEGIN_DECLS /* *INDENT-OFF* */ -typedef enum _tag_MetaOption +typedef enum _tag_MetaOptions { META_OPT_EXIF = (1 << 0), META_OPT_IPTC = (1 << 1), META_OPT_XMP = (1 << 2), - META_OPT_PARSE_ONLY = (1 << 3), - META_OPT_ALL = (1 << 4) - 1 -} MetaOption; + META_OPT_PARSE_ONLY = (1 << 3), /* only makes sense with META_OPT_DEMUX */ + META_OPT_DEMUX = (1 << 4), + META_OPT_MUX = (1 << 5), + META_OPT_ALL = (1 << 6) - 1 +} MetaOptions; /* *INDENT-ON* */ typedef enum _tag_MetaState @@ -100,13 +102,11 @@ typedef struct _tag_MetaData MetadataChunkArray strip_chunks; MetadataChunkArray inject_chunks; - gboolean parse; /* true - parsing, false - muxing */ - } MetaData; #define META_DATA_IMG_TYPE(p) (p).img_type -extern void metadata_init (MetaData * meta_data, const gboolean parse, const guint8 options); +extern void metadata_init (MetaData * meta_data, const MetaOptions options); extern void metadata_dispose (MetaData * meta_data); |