[MPlayer-dev-eng] [PATCH]patch to make vob sub outside the movie

Arpi arpi at thot.banki.hu
Thu May 16 02:57:57 CEST 2002


Hi,

> i'm working on the bbox for spu/vob subs, and it need to detect when the 
> subs are changed, it's a little bit difficult, for vob subs maybe i can use 
> timestamp in .idx, but spu subs..., i have no idea about it, does anyone 
> know how to detect the change of these subs?

spudec_decode() is called when a new sub is readed from the input stream.
you could add a flag, reset this flag from spudec_decode(), and set the flag
in spudec_draw(). when chaneg 0->1, you can signal a spu change.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list