[MPlayer-dev-eng] [PATCH] Teletext support try3 (1/5, core)
Vladimir Voroshilov
voroshil at gmail.com
Sat Jul 21 02:51:47 CEST 2007
2007/7/19, Vladimir Voroshilov <voroshil at gmail.com>:
> Hi, Michael
>
> 2007/7/18, Michael Niedermayer <michaelni at gmx.at>:
> > Hi
> >
> > On Tue, Jul 17, 2007 at 10:19:42PM +0700, Vladimir Voroshilov wrote:
> > > +
> > > + if(p[0].raw<0x80 && p[0].raw>=0x20){
> > > + p[0].unicode=lang_chars[lang][p[0].raw-0x20];
> > > + }else
> > > + p[0].unicode=0x20;
> > > +}
> >
> > conv2uni(unsigned int p, int lang)
> > {
> > if(p-0x20 < 0x80) return lang_chars[lang][p - 0x20];
> > else return 0x20;
> > }
> I'm afraid you have an error in "if(p-0x20<0x80).
> Values over 0x80 are damaged, lower than 0x20 are control chars.
> Rewrited in similar way.
>
> All other issues (i hope miss nothing) have been fixed as suggested by you.
> See attached file.
Fixed switching teletext on/off
Debug dump disabled.
--
Regards,
Vladimir Voroshilov mailto:voroshil at gmail.com
JID: voroshil at gmail.com, voroshil at jabber.ru
ICQ: 95587719
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tt36_core.diff
Type: text/x-diff
Size: 41695 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070721/aead2041/attachment.diff>
More information about the MPlayer-dev-eng
mailing list