[MPlayer-dev-eng] gui: subtitle menu is not populated when playing from mpg file

Ingo Brückl ib at wupperonline.de
Tue Aug 12 21:04:21 CEST 2014


Reimar Döffinger wrote Tue, 12 Aug 2014 20:15:05 +0200:

> I would think that the global sub size variable ideally should be kept
> up-to-date automatically. I guess that is one way to make that happen,
> I was just more wondering why it doesn't happen automatically once we
> got a new subtitle stream, instead of on every read of that variable.

On getting a new subtitle stream we only have access to the demuxer
(variable), the global sub stuff is stored whithin the mpctx. I don't know
whether this is necessary or a design flaw or just something that had been
added later.

I could try moving the global sub information to the demuxer, but I will only
learn during implementation whether this is possible at all. I cannot
overview at the moment.

Ingo


More information about the MPlayer-dev-eng mailing list