[tracker/wip/sam/meson] tracker-extract-gif: Ensure UTF-8 content in nie:comment
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/sam/meson] tracker-extract-gif: Ensure UTF-8 content in nie:comment
- Date: Sun, 25 Sep 2016 13:17:37 +0000 (UTC)
commit ab226b2f03a6cbc5352cc5f001dfbc8299fe7615
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Jul 16 17:17:17 2016 +0200
tracker-extract-gif: Ensure UTF-8 content in nie:comment
We can't rely on libgif to do this.
src/tracker-extract/tracker-extract-gif.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-gif.c b/src/tracker-extract/tracker-extract-gif.c
index 8e96199..d740c28 100644
--- a/src/tracker-extract/tracker-extract-gif.c
+++ b/src/tracker-extract/tracker-extract-gif.c
@@ -426,7 +426,7 @@ read_metadata (GifFileType *gifFile,
}
if (gd.comment) {
- tracker_resource_set_string (metadata, "nie:comment", gd.comment);
+ tracker_guarantee_resource_utf8_string (metadata, "nie:comment", gd.comment);
g_free (gd.comment);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]