summaryrefslogtreecommitdiff
path: root/voctogui/lib/videodisplay.py
diff options
context:
space:
mode:
Diffstat (limited to 'voctogui/lib/videodisplay.py')
-rw-r--r--voctogui/lib/videodisplay.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/voctogui/lib/videodisplay.py b/voctogui/lib/videodisplay.py
index c5a639b..744e1aa 100644
--- a/voctogui/lib/videodisplay.py
+++ b/voctogui/lib/videodisplay.py
@@ -1,6 +1,7 @@
import logging
from gi.repository import Gst
+from lib.args import Args
from lib.config import Config
from lib.clock import Clock
@@ -105,7 +106,7 @@ class VideoDisplay(object):
acaps=Config.get('mix', 'audiocaps'),
vcaps=Config.get('mix', 'videocaps'),
previewcaps=Config.get('previews', 'videocaps'),
- host=Config.get('server', 'host'),
+ host=Args.host if Args.host else Config.get('server', 'host'),
port=port,
)