tag: exiftag: don't try to convert utf-8 to latin1 if string is ASCII already
authorTim-Philipp Müller <tim@centricular.com>
Fri, 3 Apr 2015 20:00:53 +0000 (21:00 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 3 Apr 2015 20:03:50 +0000 (21:03 +0100)
commit99929b7ffa6f6eb43292881599a21c580f13821e
tree6fb4620394aaaebc8103aabb6cf3aaf8758aa1ce
parent5b7505a0188bf4441406aea11e3e917588414c2d
tag: exiftag: don't try to convert utf-8 to latin1 if string is ASCII already

Bypass g_convert/iconv if there's nothing to convert. That way,
conversion won't fail on systems where iconv doesn't support
converting utf-8 to latin1 and there's nothing to convert.

https://bugzilla.gnome.org/show_bug.cgi?id=723252
gst-libs/gst/tag/gstexiftag.c