[MPlayer-dev-eng] [RFC] towards working shared libav* support, part 2

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Sun Sep 14 13:04:30 CEST 2008


On Sunday, 14 September 2008 at 12:46, Reimar Döffinger wrote:
> On Sun, Sep 14, 2008 at 12:27:14PM +0200, Dominik 'Rathann' Mierzejewski wrote:
> > IMHO MPlayer should only use public libav* API or libav* should be modified
> > to export more stuff to public API.
> 
> Generally yes, but what is the point of stupidly copying a non-public
> API header from FFmpeg instead of just using it directly?
> The only arguments I can see so far is:
> 1) you can just rm -rf libav* (IMO a stupid idea, but not sure what will
> be the best solution)

Why stupid?

> 2) we do not have to immediately keep up with FFmpeg changes to these
> files.
> 
> Though I consider 2) a disadvantage.

Look, I'm not saying we should copy bswap.h and intreadwrite.h to MPlayer.
I only gave a (admittedly not optimal) solution. As I said, I think either
MPlayer should be fixed not to use these two headers or FFmpeg should
somehow export them. Måns said he had plans for doing the latter, though
I imagine it's not a simple task.

Regards,
R.

-- 
MPlayer http://mplayerhq.hu | Livna http://rpm.livna.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan



More information about the MPlayer-dev-eng mailing list