diff options
author | Edgard Lima <edgard.lima@indt.org.br> | 2007-11-30 12:53:13 +0000 |
---|---|---|
committer | Edgard Lima <edgard.lima@indt.org.br> | 2007-11-30 12:53:13 +0000 |
commit | 794ad7ca1bcf6d339aca85d1391e168f14aaee12 (patch) | |
tree | a910e629c6c908912b23ca633f0ffa992bd4bd70 /ext/metadata/metadataparsepng.h | |
parent | aedf92f4741b2010512e1b9c45b4bc462b33cb86 (diff) | |
download | gst-plugins-bad-794ad7ca1bcf6d339aca85d1391e168f14aaee12.tar.gz gst-plugins-bad-794ad7ca1bcf6d339aca85d1391e168f14aaee12.tar.bz2 gst-plugins-bad-794ad7ca1bcf6d339aca85d1391e168f14aaee12.zip |
Fixed get_range bug when injecting and stripping. And mux is almost done now.
Original commit message from CVS:
Fixed get_range bug when injecting and stripping. And mux is almost done now.
Diffstat (limited to 'ext/metadata/metadataparsepng.h')
-rw-r--r-- | ext/metadata/metadataparsepng.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/ext/metadata/metadataparsepng.h b/ext/metadata/metadataparsepng.h index 568e8494..a0876d02 100644 --- a/ext/metadata/metadataparsepng.h +++ b/ext/metadata/metadataparsepng.h @@ -50,19 +50,19 @@ G_BEGIN_DECLS -typedef enum _tag_PngState +typedef enum _tag_PngParseState { - PNG_NULL, - PNG_READING, - PNG_JUMPING, - PNG_XMP, - PNG_DONE -} PngState; + PNG_PARSE_NULL, + PNG_PARSE_READING, + PNG_PARSE_JUMPING, + PNG_PARSE_XMP, + PNG_PARSE_DONE +} PngParseState; -typedef struct _tag_PngData +typedef struct _tag_PngParseData { - PngState state; + PngParseState state; GstAdapter ** xmp_adapter; @@ -70,19 +70,20 @@ typedef struct _tag_PngData MetadataChunkArray * inject_chunks; guint32 read; -} PngData; +} PngParseData; extern void -metadataparse_png_init (PngData * png_data, GstAdapter ** exif_adpt, +metadataparse_png_init (PngParseData * png_data, GstAdapter ** exif_adpt, GstAdapter ** iptc_adpt, GstAdapter ** xmp_adpt, MetadataChunkArray * strip_chunks, MetadataChunkArray * inject_chunks); -extern void metadataparse_png_dispose (PngData * png_data); +extern void metadataparse_png_dispose (PngParseData * png_data); +extern void metadataparse_png_lazy_update (PngParseData * jpeg_data); int -metadataparse_png_parse (PngData * png_data, guint8 * buf, +metadataparse_png_parse (PngParseData * png_data, guint8 * buf, guint32 * bufsize, const guint32 offset, guint8 ** next_start, guint32 * next_size); G_END_DECLS |