Commit c867f677 authored by Sebastian Dröge's avatar Sebastian Dröge

subparse: Try to typefind even if conversion to UTF8 failed

Fixes bug #600043.
parent 2c7cdbc2
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment