[Bug 698853] HTML5 kind attribute (subtitles, captions, metadata, descriptions, chapters)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Sep 18 16:31:55 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=698853
  GStreamer | gstreamer (core) | git

--- Comment #30 from Brendan Long <self at brendanlong.com> 2013-09-18 23:31:51 UTC ---
Created an attachment (id=255262)
 View: https://bugzilla.gnome.org/attachment.cgi?id=255262
 Review: https://bugzilla.gnome.org/review?bug=698853&attachment=255262

Kind tag as a string, and add Ogg Skeleton support as an example

Here's a version that uses strings, and I added the code to parse the "Role"
header from Ogg Skeleton, so we'll have something that actually uses this.

I still feel like putting the kind tag in plugins-base is weird, since it's a
similarly generic tag to "language" and "title".

While I was writing this, I found it tempting to create a GST_TAG_ROLE instead,
and have a special function mapping that to HTML5 roles, but I'm not sure if
the various formats agree on the roles that Ogg skeleton uses (especially since
Ogg Skeleton roles can be anything, they're just recommended to be one in the
list).

The patch could probably be more efficient if it used a hash table for the
role->kind mapping, but I'm not sure what the GStreamer way of doing that is.

-- 
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