From 2723c7e4f301224d77a5b0b11f71d9115941e786 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Thu, 5 Mar 2009 10:58:12 +0200 Subject: [PATCH] subparse: use the right variable in debug log, encoding is not yet initialized --- gst/subparse/gstsubparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4