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

Francesco Lavra francescolavra at interfree.it
Sat Aug 22 17:20:35 CEST 2009


On Sat, 2009-08-22 at 15:03 +0200, Reimar Döffinger wrote:
> I'm sorry, I messed up things a bit for you by adding demuxing of DVB teletext.
> I know it's a bit annoying, but it hopefully leads the way to a more acceptable
> solution (that e.g. might work with teletext muxed into mkv or other formats).
> If you can help out with restructuring the code to work in that style (and feel
> free to ask questions about how things are supposed to work) I'd be happy
> about it, otherwise I'll hack around slowly on it as I have time.

Your patch treats teletext data as if it were subtitles, putting it in
the demuxer stream dedicated to subtitles. But teletext in MPlayer is
handled separately from subtitles, and its decoder has a different
interface than that of subtitles decoders (see update_subtitles() vs
update_teletext()); that's why in my patch teletext is decoded without
use of demuxer streams, calling directly teletext_control() instead.
If teletext data were treated as subtitles, update_subtitles() should
decode it via the teletext decoder interface, but displaying teletext on
the screen would still be taken care of by update_teletext(). Is that
what you want?

Francesco




More information about the MPlayer-dev-eng mailing list