[FFmpeg-devel] [PATCH] Define FFMPEG_PREFIX in config.h
Mon Jan 5 19:28:47 CET 2009
On Mon, Jan 05, 2009 at 11:52:06AM +0100, Stefano Sabatini wrote:
> On date Wednesday 2008-12-24 18:55:16 +0100, Stefano Sabatini encoded:
> > On date Saturday 2008-11-08 17:23:18 +0100, Stefano Sabatini encoded:
> > > On date Friday 2008-10-31 18:51:16 +0100, Diego Biurrun encoded:
> > > > On Tue, Sep 30, 2008 at 12:22:30AM +0200, Stefano Sabatini wrote:
> > > > > Hi, as in subject,
> > > > >
> > > > > conceived for supporting $prefix/share/ffmpeg preset paths but useful
> > > > > by its own.
> > > >
> > > > I don't quite understand what exactly this is useful for, please
> > > > elaborate...
> > >
> > > For example if we decide to install the bundled preset files, we
> > > should install them in that directory, then the generated binary
> > > should be able to access them directly looking in that directory.
> > Maybe I didn't explain it very well.
> > I mean that if the user uses as prefix PREFIX, then the ffmpeg binary
> > should look at the preset files in $prefix/share/ffmpeg, for example
> > if she installs ffmpeg in $HOME the presets should be looked for in
> > $HOME/share/ffmpeg.
> > Also maybe it would be a good idea to automatically install the
> > already packaged preset files in PREFIX/share/ffmpeg.
I think you should just define a datadir in configure, which can then
be exported to config.mak and config.h.
More information about the ffmpeg-devel