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

Vladimir Voroshilov voroshil at gmail.com
Sat Sep 8 06:01:44 CEST 2007


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.

-- 
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: tt_box2.diff
Type: text/x-diff
Size: 5119 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070908/c9ae0d1a/attachment.diff>


More information about the MPlayer-dev-eng mailing list