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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Aug 19 01:37:29 PDT 2013


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

--- Comment #23 from Sebastian Dröge (slomo) <slomo at circular-chaos.org> 2013-08-19 08:37:23 UTC ---
(In reply to comment #22)
> I tried adding GST_TAG_TRACK_KIND to gst-plugins-base/gst-libs/gst/tag/tag.h,
> but if I try to #include that in gstssaparse.c, it can't find it.
> 
> gstssaparse.c:29:25: fatal error: gst/tag/tag.h: No such file or directory
>  #include <gst/tag/tag.h>

You need to add $(GST_PLUGINS_BASE_CFLAGS) to the CFLAGS, and
$(GST_PLUGINS_BASE_LIBS) -lgsttag- at GST_API_VERSION@ to the LIBS.

> Also, I have two questions: Should the kinds be an enum or a string, and should
> there be a gst_tag_get_html_track_kind() function? At the moment, all it could
> do is validate that the kind is one of the listed ones. I'm not sure if we
> could make it return an answer based on the type of track it's on ("subtitles"
> isn't valid on an audio track, but how do we know we're looking at an audio
> track?).

I'd make it an enum

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