[MPlayer-dev-eng] demuxer question
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Mon Jun 27 20:01:49 CEST 2011
On Mon, Jun 27, 2011 at 05:19:10PM +0200, Ingo Brückl wrote:
> Is it possible that the GUI gets called without a mpctx->demuxer? (There is a
> if (!mpctx->demuxer) goto_next_file; in mplayer.c which seems to prevent it,
> doesn't it?)
What do you mean by "gets called"? Obviously when no file is playing
there is no demuxer.
> I'd like to get rid of some hardly used stuff in guiInterface_t and retrieve
> the demuxer using mpctx_get_demuxer() instead where needed. Currently there
> are some guiInfo.demuxer (!= NULL) checks which seem unnecessary to me and
> shouldn't need the extra mpctx_get_demuxer() call then.
Well, ideally you'd fix it be getting rid of any direct uses of the
demuxer in the gui code, can't say much beyond that.
More information about the MPlayer-dev-eng
mailing list