summarylogtreecommitdiffstats
path: root/screencast-vaapi.patch
diff options
context:
space:
mode:
authorNikolay Bryskin2022-11-07 15:59:56 +0200
committerNikolay Bryskin2022-11-07 16:21:04 +0200
commitfbf7b9595c6d07ca20047c9d129f08c4072c02bd (patch)
treea6ac1f28de8bdc3836268d01e07326d14c37de0e /screencast-vaapi.patch
parent30909acd8e1c1e53706aa16b90064d56ff5c9f5d (diff)
downloadaur-fbf7b9595c6d07ca20047c9d129f08c4072c02bd.tar.gz
Update to Gnome 43
Diffstat (limited to 'screencast-vaapi.patch')
-rw-r--r--screencast-vaapi.patch15
1 files changed, 7 insertions, 8 deletions
diff --git a/screencast-vaapi.patch b/screencast-vaapi.patch
index da8710e4bf5c..19346b2f49f0 100644
--- a/screencast-vaapi.patch
+++ b/screencast-vaapi.patch
@@ -1,8 +1,8 @@
diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js
-index 4bce178ef..a2ae1a864 100644
+index a01fbe3c9..5d3e27026 100644
--- a/js/ui/screenshot.js
+++ b/js/ui/screenshot.js
-@@ -1839,11 +1839,15 @@ var ScreenshotUI = GObject.registerClass({
+@@ -1864,11 +1864,14 @@ var ScreenshotUI = GObject.registerClass({
_('Screencasts'),
/* Translators: this is a filename used for screencast
* recording, where "%d" and "%t" date and time, e.g.
@@ -12,12 +12,11 @@ index 4bce178ef..a2ae1a864 100644
- _('Screencast from %d %t.webm'),
+ _('Screencast from %d %t.mkv'),
]),
-- { 'draw-cursor': new GLib.Variant('b', drawCursor) },
+- {'draw-cursor': new GLib.Variant('b', drawCursor)});
+ {
+ 'draw-cursor': new GLib.Variant('b', drawCursor),
+ 'pipeline': new GLib.Variant('s', 'vaapipostproc ! video/x-raw,format=NV12,max-framerate=60/1 ! queue ! vaapih264enc ! video/x-h264,profile=main ! queue ! h264parse ! matroskamux'),
-+ 'framerate': new GLib.Variant('u', 60),
-+ },
- ([success, path], error) => {
- if (error !== null) {
- this._setScreencastInProgress(false);
++ });
+ if (!success)
+ throw new Error();
+ this._screencastPath = path;