[gst-cvs] gst-plugins-base: subparse: use the right variable in debug log, encoding is not yet initialized
Stefan Kost
ensonic at kemper.freedesktop.org
Thu Mar 5 01:00:20 PST 2009
Module: gst-plugins-base
Branch: master
Commit: 2723c7e4f301224d77a5b0b11f71d9115941e786
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=2723c7e4f301224d77a5b0b11f71d9115941e786
Author: Stefan Kost <ensonic at users.sf.net>
Date: Thu Mar 5 10:58:12 2009 +0200
subparse: use the right variable in debug log, encoding is not yet initialized
---
gst/subparse/gstsubparse.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gst/subparse/gstsubparse.c b/gst/subparse/gstsubparse.c
index e025be7..030ea94 100644
--- a/gst/subparse/gstsubparse.c
+++ b/gst/subparse/gstsubparse.c
@@ -382,7 +382,7 @@ convert_encoding (GstSubParse * self, const gchar * str, gsize len,
return ret;
GST_WARNING_OBJECT (self, "could not convert string from '%s' to UTF-8: %s",
- encoding, err->message);
+ self->detected_encoding, err->message);
g_free (self->detected_encoding);
self->detected_encoding = NULL;
g_error_free (err);
More information about the Gstreamer-commits
mailing list