diff options
Diffstat (limited to 'voctogui/lib')
-rw-r--r-- | voctogui/lib/videodisplay.py | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/voctogui/lib/videodisplay.py b/voctogui/lib/videodisplay.py index 4133d5a..4195d70 100644 --- a/voctogui/lib/videodisplay.py +++ b/voctogui/lib/videodisplay.py @@ -58,9 +58,17 @@ class VideoDisplay(object): """ # Video Display - pipeline += """ - xvimagesink name=v - """ + if Config.getboolean('x11', 'xv'): + pipeline += """ + xvimagesink name=v + """ + else: + pipeline += """ + videoconvert ! + videoscale ! + ximagesink name=v + """ + # If an Audio-Path is required, add an Audio-Path through a level-Element |