From 9d6ccb6072ec2894bbbc147a2416ec05523d0bd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 11 Aug 2020 01:34:03 +0200 Subject: [PATCH] dbusServices/screencast: Quote filename in pipeline Otherwise Gst fails to parse the pipeline string if the filename contains spaces, as all words following the first are interpreted as additional Gst elements. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1403 --- js/dbusServices/screencast/screencastService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/dbusServices/screencast/screencastService.js b/js/dbusServices/screencast/screencastService.js index 99ad59f2e..f7683d482 100644 --- a/js/dbusServices/screencast/screencastService.js +++ b/js/dbusServices/screencast/screencastService.js @@ -224,7 +224,7 @@ var Recorder = class { video/x-raw,max-framerate=${framerate}/1 ! videoconvert ! ${this._pipelineString} ! - filesink location=${this._filePath}`; + filesink location="${this._filePath}"`; fullPipeline = this._substituteThreadCount(fullPipeline); this._pipeline = Gst.parse_launch_full(fullPipeline,