diff options
author | Edgard Lima <edgard.lima@indt.org.br> | 2007-10-30 18:21:22 +0000 |
---|---|---|
committer | Edgard Lima <edgard.lima@indt.org.br> | 2007-10-30 18:21:22 +0000 |
commit | fb4dbf8ae540789e384b70b985cf10a10d0ad35e (patch) | |
tree | d2a8a4c6fe4df98a9b0ee85b03b0df30d10d4669 /ext/metadata/metadataparse.c | |
parent | 6836fdea8367cdcaea53505a5a9ff93909b103d8 (diff) | |
download | gst-plugins-bad-fb4dbf8ae540789e384b70b985cf10a10d0ad35e.tar.gz gst-plugins-bad-fb4dbf8ae540789e384b70b985cf10a10d0ad35e.tar.bz2 gst-plugins-bad-fb4dbf8ae540789e384b70b985cf10a10d0ad35e.zip |
Changed kclass to "Parser/Extracter/Metadata", changed caps to "image/jpeg, tags-extract=true/false" and changed prio...
Original commit message from CVS:
Changed kclass to "Parser/Extracter/Metadata", changed caps to "image/jpeg, tags-extract=true/false" and changed priority to GST_RANK_PRIMARY+1. Also, srcpad can only work in push mode until fixed to also work in pull mode.
Diffstat (limited to 'ext/metadata/metadataparse.c')
-rw-r--r-- | ext/metadata/metadataparse.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/metadata/metadataparse.c b/ext/metadata/metadataparse.c index 50fdbaba..9c7dfa84 100644 --- a/ext/metadata/metadataparse.c +++ b/ext/metadata/metadataparse.c @@ -103,6 +103,7 @@ metadataparse_parse (ParseData * parse_data, const guint8 * buf, (guint8 *) buf, &bufsize, &next_start, next_size); break; case IMG_PNG: + ret = 0; break; default: /* unexpected */ @@ -115,6 +116,10 @@ metadataparse_parse (ParseData * parse_data, const guint8 * buf, done: + if (ret == 0) { + parse_data->state = STATE_DONE; + } + return ret; } |