[Bug 740784] subparse: fails to detect UTF-8 encoding

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Dec 1 07:12:50 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740784
  GStreamer | gst-plugins-base | git

Reynaldo H. Verdejo Pinochet <reynaldo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #291758|0                           |1
        is obsolete|                            |

--- Comment #13 from Reynaldo H. Verdejo Pinochet <reynaldo at opendot.cl> 2014-12-01 15:12:48 UTC ---
Created an attachment (id=291917)
 View: https://bugzilla.gnome.org/attachment.cgi?id=291917
 Review: https://bugzilla.gnome.org/review?bug=740784&attachment=291917

subparse: avoid false negative with g_utf8_validate

Something like this then? I understand "consumed" should still
match the size of the original run, NULs included.

Also tested this patch with a section of the newly attached srt
FILE starting around sub #135. It works.

-- 
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