[gstreamer-bugs] [Bug 360552] [riff] [avi] extracts non-UTF8 metadata
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu Oct 26 03:52:08 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=360552
GStreamer | gst-plugins-base | Ver: HEAD CVS
Tim-Philipp Müller changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|HEAD |0.10.11
------- Comment #8 from Tim-Philipp Müller 2006-10-26 10:51 UTC -------
2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
* gst/gststructure.c: (gst_structure_id_set_value):
If someone tries to set a non-UTF8 string field on a structure,
don't just print a warning, but also ignore the request and do
not change/add that field to the structure.
* tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
Test for the above.
2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
* gst-libs/gst/riff/riff-read.c: (freeform_string_to_utf8),
(gst_riff_parse_info):
If strings in INFO chunk are not UTF-8, do something similar to
what we do for ID3v1 tags: check a number of environment variables
(GST_AVI_TAG_ENCODING, GST_RIFF_TAG_ENCODING, GST_TAG_ENCODING) for
character sets to try, otherwise try the current locale and/or fall
back on ISO-8859-1. Fixes #360552.
$ GST_TAG_ENCODING=shift-jis gst-launch-0.10 playbin
uri=file:///home/tim//cg_sample.avi -t
FOUND TAG : found by element "avidemux0".
ISRC: MBS
title: コードギアス 反逆のルルーシュ 第01話
「魔神が生まれた日」
genre: anime
encoder: VirtualDubMod 1.5.10.2 (build 2542/release)
comment: 映像:DivX640 qt=2.8 i-link TScap
音声:Lame mp3 48kHz 160kbps
artist: aaLPbRVQ8B
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
More information about the Gstreamer-bugs
mailing list