GNOME Bugzilla – Bug 351426
API: add gst_tag_parse_extended_comment
Last modified: 2006-08-16 11:37:57 UTC
I'd like to add a utility function to parse GST_TAG_EXTENDED_COMMENT strings. This is useful both for applications and tag-writing plugins and avoids code duplication: gboolean gst_tag_parse_extended_comment (const gchar * ext_comment, gchar ** key, gchar ** lang, gchar ** value, gboolean fail_if_no_key); Patch including unit test attached.
Created attachment 70932 [details] [review] propsed API addition, incl. unit tests
Committed: 2006-08-16 Tim-Philipp Müller <tim at centricular dot net> * docs/libs/gst-plugins-base-libs-sections.txt: * gst-libs/gst/tag/tag.h: * gst-libs/gst/tag/tags.c: (gst_tag_parse_extended_comment): API: add gst_tag_parse_extended_comment() (#351426). * tests/check/Makefile.am: * tests/check/libs/.cvsignore: * tests/check/libs/tag.c: (GST_START_TEST), (tag_suite), (main): Add unit test for gst_tag_parse_extended_comment().