[FFmpeg-devel] [PATCH] lavc: make invalid UTF-8 in subtitle output a non-fatal error

Nicolas George nicolas.george at normalesup.org
Fri Jun 28 23:35:31 CEST 2013

Le decadi 10 messidor, an CCXXI, Michael Niedermayer a écrit :
> With the solution proposed by wm4 wrong charset -> wrongly displayed
> subs -> user sees that and acts based on what he sees, he can possibly
> guess the encoding from the kind of gibberish seen.

This is not what wm4 proposes. What he proposes is not "wrong charset" but
"no encoding specified". My answer is that he must always specify an
encoding. If the application does so, the code path the patch changes is not
reached anyway; there is still a bit of work to arrive to "wrongly displayed
subs", but mostly trivial.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130628/ac2d6768/attachment.asc>

More information about the ffmpeg-devel mailing list