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:
parent
5091eab280
commit
9d6ccb6072
@ -224,7 +224,7 @@ var Recorder = class {
|
|||||||
video/x-raw,max-framerate=${framerate}/1 !
|
video/x-raw,max-framerate=${framerate}/1 !
|
||||||
videoconvert !
|
videoconvert !
|
||||||
${this._pipelineString} !
|
${this._pipelineString} !
|
||||||
filesink location=${this._filePath}`;
|
filesink location="${this._filePath}"`;
|
||||||
fullPipeline = this._substituteThreadCount(fullPipeline);
|
fullPipeline = this._substituteThreadCount(fullPipeline);
|
||||||
|
|
||||||
this._pipeline = Gst.parse_launch_full(fullPipeline,
|
this._pipeline = Gst.parse_launch_full(fullPipeline,
|
||||||
|
Loading…
Reference in New Issue
Block a user