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

Michael Niedermayer michaelni at gmx.at
Tue May 17 00:28:48 CEST 2011

On Mon, May 16, 2011 at 10:35:26PM +0200, Reimar Döffinger wrote:
> 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.

ok, makes sense but i think this should be done in addition and
not as alternative.
I dont want to break existing presets

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110517/32d8cbb7/attachment.asc>

More information about the ffmpeg-devel mailing list