[FFmpeg-devel] [PATCH] set FONTCONFIG_PATH relative to ffmpeg binary, if it is a static build

Helmut Tessarek tessarek at evermeet.cx
Mon Feb 17 14:01:38 CET 2014


Thank you for your comments. I will change the code accordingly.
Just waiting for additional input from Reimar regarding a new config option.

On 17.02.14 5:26 , Nicolas George wrote:
>> +
>>> +	getcwd (curdir, PATH_MAX);
> Is it necessary? A quick test shows that fontconfig can handle relative 
> paths just fine.

Yes, this was necessary, otherwise fontconfig looks for the fontconfig path
relative to the path where ffmpeg was started from and not relative to the
ffmpeg binary.
Took my quite some time to figure that out.

Cheers,
  Helmut



More information about the ffmpeg-devel mailing list