diff options
author | Edgard Lima <edgard.lima@indt.org.br> | 2007-12-13 17:19:54 +0000 |
---|---|---|
committer | Edgard Lima <edgard.lima@indt.org.br> | 2007-12-13 17:19:54 +0000 |
commit | 7bc241beb0b6dd22f0b6e722174779221ceec5de (patch) | |
tree | 1a867f963d6e131563ae77ae6b8977dee73f71f2 /ext/metadata/metadataparseutil.c | |
parent | 334b512629cc91ea21b0ae32f0b9b6d980059c18 (diff) | |
download | gst-plugins-bad-7bc241beb0b6dd22f0b6e722174779221ceec5de.tar.gz gst-plugins-bad-7bc241beb0b6dd22f0b6e722174779221ceec5de.tar.bz2 gst-plugins-bad-7bc241beb0b6dd22f0b6e722174779221ceec5de.zip |
Code documentation.
Original commit message from CVS:
Code documentation.
Diffstat (limited to 'ext/metadata/metadataparseutil.c')
-rw-r--r-- | ext/metadata/metadataparseutil.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/metadata/metadataparseutil.c b/ext/metadata/metadataparseutil.c index ff1b8826..845c125b 100644 --- a/ext/metadata/metadataparseutil.c +++ b/ext/metadata/metadataparseutil.c @@ -63,7 +63,7 @@ metadataparse_util_tag_list_add_chunk (GstTagList * taglist, } -int +MetadataParsingReturn metadataparse_util_hold_chunk (guint32 * read, guint8 ** buf, guint32 * bufsize, guint8 ** next_start, guint32 * next_size, GstAdapter ** adapter) @@ -73,7 +73,7 @@ metadataparse_util_hold_chunk (guint32 * read, guint8 ** buf, if (*read > *bufsize) { *next_start = *buf; *next_size = *read; - ret = 1; + ret = META_PARSING_NEED_MORE_DATA; } else { GstBuffer *gst_buf; @@ -88,13 +88,13 @@ metadataparse_util_hold_chunk (guint32 * read, guint8 ** buf, *buf += *read; *bufsize -= *read; *read = 0; - ret = 0; + ret = META_PARSING_DONE; } return ret; } -int +MetadataParsingReturn metadataparse_util_jump_chunk (guint32 * read, guint8 ** buf, guint32 * bufsize, guint8 ** next_start, guint32 * next_size) { @@ -106,13 +106,13 @@ metadataparse_util_jump_chunk (guint32 * read, guint8 ** buf, *next_start = *buf + *bufsize + *read; *read = 0; *bufsize = 0; - ret = 1; + ret = META_PARSING_NEED_MORE_DATA; } else { *next_start = *buf + *read; *buf += *read; *bufsize -= *read; *read = 0; - ret = 0; + ret = META_PARSING_DONE; } return ret; } |