[MPlayer-dev-eng] [PATCH] fix mencoder compilation with lavf X11 demuxer
Rich Felker
dalias at aerifal.cx
Thu Dec 14 02:10:13 CET 2006
On Thu, Dec 14, 2006 at 12:55:59AM +0100, Dominik 'Rathann' Mierzejewski wrote:
> On Thursday, 14 December 2006 at 00:51, Corey Hickey wrote:
> > Hello,
> >
> > Compilation of mencoder fails for me now; lavf compilation includes some
> > X11 headers, but mencoder's compilation doesn't link with the
> > corresponding libraries.
> >
> > The attached patch fixes the problem for me. I don't know if it's the
> > right fix, so I won't threaten to apply it, but it would be nice if
> > somebody took care of this (or told me to apply my patch).
>
> Can x11grab be easily disabled? More specifically, I'm trying to avoid
> unnecessary dependencies in mencoder for binary packages. MEncoder doesn't
> depend on any X11 libs currently and I intend to keep it that way.
IMO this reveals a whole cascade of problems:
- there should be a way to disable protocols if there's not already
- the protocols should ideally be a separate library/separate level of
abstraction from the muxers/demuxers
- wtf? grabbing belongs in a grabber app, not an a/v format library
- libavformat looks more like libffmpegapp than libavformat
Any ideas if there's a desire to fix any of them, and if so, how to go
about doing it?
Rich
More information about the MPlayer-dev-eng
mailing list