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
This commit is contained in:
Florian Müllner 2020-08-11 01:34:03 +02:00 committed by Florian Müllner
parent 5091eab280
commit 9d6ccb6072

View File

@ -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,