[FFmpeg-devel] [PATCH] preset dir for win32

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon May 16 22:35:26 CEST 2011


On Mon, May 16, 2011 at 06:00:11PM +0200, Michael Niedermayer wrote:
> On Sat, May 14, 2011 at 08:26:39AM +0200, Gianluigi Tiesi wrote:
> > Hi,
> > 
> > this patch make win32 ffmpeg search in a subdir of the executable called
> > presets, datadir does not fit enough well on win32
> 
> please explain/elaborate on what this fixes.
> To me it would look like FFMPEG_DATADIR could be set to whatever
> directory is wanted, obviously iam missing some problem

I think the idea is to look for presets relative to the location of
the FFmpeg binary.
So the presets will be available even after moving all installation
files around (as e.g. when providing a binary with installer and
user-selectable installation destination) and also when not
starting the binary from the directory where it is installed.


More information about the ffmpeg-devel mailing list