[Bug 698853] HTML5 kind attribute (subtitles, captions, metadata, descriptions, chapters)
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Oct 9 19:21:58 CEST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=698853
GStreamer | gstreamer (core) | git
--- Comment #45 from Brendan Long <self at brendanlong.com> 2013-10-09 17:21:51 UTC ---
(In reply to comment #44)
> You could make it gst_tag_get_tag ("track-kind") which then uses a
> g_once_init_enter()/leave() or GOnce guarded function that registers all tags
> from the tag library, and then returns the string.
Like this?
/* for each tag */
#define GST_TAG_TRACK_KIND gst_tag_get_tag ("track-kind");
const gchar*
gst_tag_get_tag (const gchar* tag_name)
{
static GOnce once = G_ONCE_INIT;
g_once (&once, gst_tag_register_tags_internal, NULL);
return tag_name;
}
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list