mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
screencastService: Drop always-copy condition
The check for the Pipewire version was originally introduced ind32c0348which states: > Since it is not clear yet when a proper solution will arrive, > this makes use of `always-copy` as a workaround for now and > should be reverted once it is no longer needed. The check for a stable Gstreamer version with the mention proper fix was introduced ind7b44319and carried for the 43 cycle. By the time Gnome 44 will be released all distros should have had enough time to update their Gstreamer version - or backport the patches, in case of not ustream-supported versions. Thus lets drop it now. Note: `always-copy` is not suitable for dmabuf buffers as it copies via mmap. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2609>
This commit is contained in:
parent
cad01d154c
commit
46517e02dd
1 changed files with 0 additions and 4 deletions
|
|
@ -316,13 +316,9 @@ var Recorder = class {
|
|||
|
||||
_ensurePipeline(nodeId) {
|
||||
const framerate = this._framerate;
|
||||
const needsCopy =
|
||||
Gst.Registry.get().check_feature_version('pipewiresrc', 0, 3, 57) &&
|
||||
!Gst.Registry.get().check_feature_version('videoconvert', 1, 20, 4);
|
||||
|
||||
let fullPipeline = `
|
||||
pipewiresrc path=${nodeId}
|
||||
always-copy=${needsCopy}
|
||||
do-timestamp=true
|
||||
keepalive-time=1000
|
||||
resend-last=true !
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue