Re: how to read config file from current dir (relative to a binary using the lib)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 28, 2012 at 9:48 AM, Helmut Tessarek <ml@xxxxxxxxxxx> wrote:
> The problem is that it does not work. I tried in ffmpeg.c, as well as in
> libavfilter/vf_drawtext.c and it is just not working.
>
> There is apparently no way to get ffmpeg to use ./cfg/ as the config path for
> fontconfig.
> The only way seems to be to set the env variable _before_ starting ffmpeg.
> If you set it in ffmpeg, it is ignored.
>
> Very weird, since it does not make any sense.

Not that weird if it's a separate process and it's not on parent-child
relationship, because the env vars that is set on the child process
isn't reflected to the parent nor another child processes. you have to
do it on the parent process before starting a child process or wrap it
up with the shell script or the batch file.

-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux