mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
subparse: Try to typefind even if conversion to UTF8 failed
Fixes bug #600043.
This commit is contained in:
parent
2c7cdbc2ca
commit
c867f677c0
1 changed files with 1 additions and 6 deletions
|
@ -1791,12 +1791,7 @@ gst_subparse_type_find (GstTypeFind * tf, gpointer private)
|
|||
}
|
||||
}
|
||||
converted_str = gst_convert_to_utf8 (str, 128, enc, &tmp, &err);
|
||||
if (converted_str == NULL) {
|
||||
GST_DEBUG ("Charset conversion failed: %s", err->message);
|
||||
g_error_free (err);
|
||||
g_free (str);
|
||||
return;
|
||||
} else {
|
||||
if (converted_str != NULL) {
|
||||
g_free (str);
|
||||
str = converted_str;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue