Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sebastian Dröge
gst-plugins-base
Commits
c867f677
Commit
c867f677
authored
May 23, 2011
by
Sebastian Dröge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
subparse: Try to typefind even if conversion to UTF8 failed
Fixes bug #600043.
parent
2c7cdbc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
gst/subparse/gstsubparse.c
gst/subparse/gstsubparse.c
+1
-6
No files found.
gst/subparse/gstsubparse.c
View file @
c867f677
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment