[MPlayer-dev-eng] [PATCH] factor/generalize subtitle initialization

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Nov 21 16:52:28 CET 2006


Hello,
On Sun, Nov 19, 2006 at 09:16:41PM +0100, Reimar D?ffinger wrote:
> attached patch moves vo_spudec initialization into a separate function
> and reuses this function on subtitle switching.
> This makes subtitle switching (well in this case only on-off switching)
> with
> http://samples.mplayerhq.hu/sub/NeroMP4/unsupported-embedded-subs-2.mp4

Applied in two steps and with a small fixes (left reinitialization under
the "if (d_dvdsub) {" and also check for d_dvdsub->sh != NULL, just to
be sure (this should not happen at a later time, but there are still too
many hacks in that area currently to assume it IMO).

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list