mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
subparse: use the right variable in debug log, encoding is not yet initialized
This commit is contained in:
parent
c673c09e4f
commit
2723c7e4f3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue