[MPlayer-dev-eng] [PACTH] mplayer.c: broken term_osd output in update_osd_msg()

Andrew Savchenko Bircoph at list.ru
Sun Sep 3 13:22:23 CEST 2006


Hi!

When (use_term_osd !=0) in mplayer.c, it provides broken output when 
national console messages are enabled, e.g. when displaying translation 
of MSGTR_Paused message. If user's locale is not UTF8, MSGTR_Paused 
message is unreadable.

Reason: in function update_osd_msg() printf is used instead of mp_msg(), 
so utf8->locale_encoding conversion is not perfomed. 

Appended patch fixes up this little mess.

Any opinions to apply?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer.c.patch
Type: text/x-diff
Size: 419 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060903/e3a7cdce/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060903/e3a7cdce/attachment.pgp>


More information about the MPlayer-dev-eng mailing list