summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/settings.c5
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);
}