[MPlayer-dev-eng] [PATCH] Track names in matroska

Paul Lebedev paul.lebedev at gmail.com
Thu Jun 15 21:54:46 CEST 2006


Looks like mp_msg expects argument to be in MSG_CHARSET encoding, which may
be != utf-8, indeed.
Should I convert it then? I've seen at least one other place in MPlayer
which needs something similar -
ao_dsound printing names of sound cards.

P.S.
mp_msg.c:91
        msgiconv = iconv_open(mp_msg_charset, MSG_CHARSET);
        old_charset = strdup(mp_msg_charset);
      }
      if (msgiconv == (iconv_t)(-1)) {
        fprintf(stderr,"iconv: conversion from %s to %s unsupported\n"
               ,mp_msg_charset,MSG_CHARSET);
Aren't from and to swapped in the error message?




More information about the MPlayer-dev-eng mailing list