[MPlayer-dev-eng] [PATCH] teletext subtitle page

Ötvös Attila oattila at chello.hu
Sat Sep 8 11:01:14 CEST 2007


2007. szeptember 8. 06.01 dátummal Vladimir Voroshilov ezt írta:
> Hi, Otvos.
>
> 2007/9/8, Ötvös Attila <oattila at chello.hu>:
> > Hi All!
> >
> > If the current teletext page is subtitle (ETS 300 706 Page 28 C6, bit 8)
> > then the vo_update_text_teletext() don't draw background of spaces around
> > subtitle text. If subtitle page empty is show only header.
>
> Thanks for patch, but, i has already one for the same thing :)
>
> 1. My patch uses "Start Box"/"End Box" (ETS 300 706 Page 76, 0/A and
> 0/B control chars) codes instead of spaces for detecting subtitle box.
> 2. Subtitle page flag (along with others) is stored in page structure
> (as page property) instead of global "priv_t" structure.
> 3. Added "hidden" flag to teletext character structure (instead of
> your tt_textrange_s structure), because standard does not say that
> page can contain only one contiguous subtitle box per line.
>
> Please test it. If it works for you, i'll apply it immediately.
Hi Vladimir Voroshilov!

Patch do work.

Best regard.
Attila





More information about the MPlayer-dev-eng mailing list