[MPlayer-dev-eng] utf-16 encoded subtitle files

Magnus Leuthner magnus.leuthner at googlemail.com
Sat Jul 11 20:59:51 CEST 2009


Hello everyone,

mplayer fails with a rather unhelpful message ("could not detect file
format") in case of utf-16 encoded subtitle files passed to the -sub
parameter. Attached is a patch that gives a more helpful message about
the unsupported character encoding.

This is my first patch contribution to an open source project, so any
feedback highly appreciated.

- Mac
-------------- next part --------------
A non-text attachment was scrubbed...
Name: subreader.c.patch
Type: text/x-diff
Size: 703 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090711/e21b430e/attachment.patch>


More information about the MPlayer-dev-eng mailing list