[MPlayer-dev-eng] [PATCH] Add DVB teletext support

Francesco Lavra francescolavra at interfree.it
Sat Oct 24 19:33:07 CEST 2009


On Sat, 2009-10-24 at 13:36 +0200, Francesco Lavra wrote:
> The declaration of teletext_control() in libmpcodecs/dec_teletext.h, which with the previous patches prevented MPlayer from compiling without teletext support, has been put under #ifdef.

Sorry, I actually didn't test MPlayer with teletext support disabled.
Now I have tested MPlayer compilation and run both with and without
teletext support enabled, and there were some bugs which have been
solved with the attached patches. 

> Below is a reminder of what the patches do and how DVB teletext can be displayed.
> 
> Only the lavf demuxer supports DVB teletext (use the option -demuxer lavf).
> As teletext data is treated like subtitles, subtitles themselves must be enabled e.g. by adding -sid 0 to the command line.
> The first patch deals with file name changes and must be preceded by:
>         svn mv stream/tvi_vbi.c libmpcodecs/dec_teletext.c
>         svn cp stream/tv.h libmpcodecs/dec_teletext.h
> The second patch makes access to teletext data independent from the tv input layer.
> The third patch comes from Reimar and adds DVB teletext support to the lavf demuxer.
> The fourth patch (partly written by Reimar, too) completes the picture allowing MPlayer to decode DVB teletext.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01_dec_teletext.patch
Type: text/x-patch
Size: 17503 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20091024/922a5728/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02_teletext.patch
Type: text/x-patch
Size: 31198 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20091024/922a5728/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03_lavf.patch
Type: text/x-patch
Size: 2161 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20091024/922a5728/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04_dvb_teletext.patch
Type: text/x-patch
Size: 9952 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20091024/922a5728/attachment-0003.bin>


More information about the MPlayer-dev-eng mailing list