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/metadataparsejpeg.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/metadataparsejpeg.h')
-rw-r--r-- | ext/metadata/metadataparsejpeg.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/ext/metadata/metadataparsejpeg.h b/ext/metadata/metadataparsejpeg.h index 4d1d57c6..e5cd065e 100644 --- a/ext/metadata/metadataparsejpeg.h +++ b/ext/metadata/metadataparsejpeg.h @@ -50,21 +50,21 @@ G_BEGIN_DECLS -typedef enum _tag_JpegState +typedef enum _tag_JpegParseState { - JPEG_NULL, - JPEG_READING, - JPEG_JUMPING, - JPEG_EXIF, - JPEG_IPTC, - JPEG_XMP, - JPEG_DONE -} JpegState; + JPEG_PARSE_NULL, + JPEG_PARSE_READING, + JPEG_PARSE_JUMPING, + JPEG_PARSE_EXIF, + JPEG_PARSE_IPTC, + JPEG_PARSE_XMP, + JPEG_PARSE_DONE +} JpegParseState; -typedef struct _tag_JpegData +typedef struct _tag_JpegParseData { - JpegState state; + JpegParseState state; GstAdapter ** exif_adapter; GstAdapter ** iptc_adapter; @@ -75,19 +75,20 @@ typedef struct _tag_JpegData guint32 read; gboolean jfif_found; -} JpegData; +} JpegParseData; extern void -metadataparse_jpeg_init (JpegData * jpeg_data, GstAdapter ** exif_adpt, +metadataparse_jpeg_init (JpegParseData * jpeg_data, GstAdapter ** exif_adpt, GstAdapter ** iptc_adpt, GstAdapter ** xmp_adpt, MetadataChunkArray * strip_chunks, MetadataChunkArray * inject_chunks); -extern void metadataparse_jpeg_dispose (JpegData * jpeg_data); +extern void metadataparse_jpeg_dispose (JpegParseData * jpeg_data); +extern void metadataparse_jpeg_lazy_update (JpegParseData * jpeg_data); int -metadataparse_jpeg_parse (JpegData * jpeg_data, guint8 * buf, +metadataparse_jpeg_parse (JpegParseData * jpeg_data, guint8 * buf, guint32 * bufsize, const guint32 offset, guint8 ** next_start, guint32 * next_size); G_END_DECLS |