diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-08-04 19:43:38 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-08-04 19:43:38 +0200 |
commit | eb5a0aaa32d64b8f78fdd9426af6eb44d9338d36 (patch) | |
tree | b82635f859e56375457f2db8d4045b5b870d515e | |
parent | 83871b252911a407db509d72f7fad9e8b6356c73 (diff) | |
download | pianobar-windows-eb5a0aaa32d64b8f78fdd9426af6eb44d9338d36.tar.gz pianobar-windows-eb5a0aaa32d64b8f78fdd9426af6eb44d9338d36.tar.bz2 pianobar-windows-eb5a0aaa32d64b8f78fdd9426af6eb44d9338d36.zip |
Set ffmpeg proxy
The proxy config setting did not set ffmpeg’s http proxy previously. See
issue #531.
-rw-r--r-- | src/settings.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/settings.c b/src/settings.c index 37928a9..3296f6e 100644 --- a/src/settings.c +++ b/src/settings.c @@ -368,6 +368,11 @@ void BarSettingsRead (BarSettings_t *settings) { } } + /* ffmpeg does not support setting an http proxy explicitly */ + if (settings->proxy != NULL) { + setenv ("http_proxy", settings->proxy, 1); + } + free (userhome); } |