[Bug 740784] subparse: fails to detect UTF-8 encoding
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Dec 1 13:54:49 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=740784
GStreamer | gst-plugins-base | git
--- Comment #14 from Athanasios Oikonomou <athoik at gmail.com> 2014-12-01 21:54:43 UTC ---
Created an attachment (id=291949)
View: https://bugzilla.gnome.org/attachment.cgi?id=291949
Review: https://bugzilla.gnome.org/review?bug=740784&attachment=291949
avoid false negative with g_utf8_validate and set detected encoding
With the attached patch I have no issues with attached subtitles.
There difference is that we set detected encoding, so that next buffer to
handle with so that next buffer to checked directly against
gst_convert_to_utf8, instead of validating every buffer.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the gstreamer-bugs
mailing list