[Bug 727044] New: Unable to set language tags
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Mar 25 12:25:16 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=727044
GStreamer | gst-plugins-base | git
Summary: Unable to set language tags
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: Uraeus at linuxrising.org
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
I am trying to set the language tag for Ogg or Quicktime files, but it doesn't
seem to work. I do know the tagsetting code works because the 'Transmageddon
transcoder' tag does get set in Quicktime. But language or language-code seems
completely unaffected by my attempts.
tagyes = factory.has_interface("GstTagSetter")
if tagyes ==True:
taglist=Gst.TagList.new_empty()
taglist.add_value(Gst.TagMergeMode.APPEND,
Gst.TAG_APPLICATION_NAME, "Transmageddon transcoder")
if self.audiodata[0]['languagecode'] != None:
taglist.add_value(Gst.TagMergeMode.APPEND,
Gst.TAG_LANGUAGE_CODE, self.audiodata[0]['languagecode']) # FIXME: Currently
only doing 1 stream
taglist.add_value(Gst.TagMergeMode.APPEND,
Gst.TAG_LANGUAGE_NAME, self.audiodata[0]['language'])
print(taglist.to_string())
element.merge_tags(taglist, Gst.TagMergeMode.REPLACE)
--
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