[gnome-shell/gnome-3-34] Revert "recorder: Switch to vp9"
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-34] Revert "recorder: Switch to vp9"
- Date: Fri, 24 Jan 2020 19:52:00 +0000 (UTC)
commit 8a8c6e2f23a06bf031a6a3e3a40bc80bcde0e790
Author: Björn Daase <bjoern daase net>
Date: Fri Jan 24 18:01:45 2020 +0000
Revert "recorder: Switch to vp9"
This reverts commit d183f13456991d12ea57ad14ba38a1f7407d0037.
Switching to the vp9 encoder seemed like a good idea at the time but
unfortunately it also has the major drawback, that it leaks a serious
amount of memory every time it is used. See
https://gitlab.gnome.org/GNOME/gnome-shell/issues/256#note_692743
for more details.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/256
(cherry picked from commit c61685e6170c328ccab43d51464bc4c74669d2e1)
src/shell-recorder.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/shell-recorder.c b/src/shell-recorder.c
index cfafbaa0af..07dd80e390 100644
--- a/src/shell-recorder.c
+++ b/src/shell-recorder.c
@@ -146,7 +146,7 @@ G_DEFINE_TYPE(ShellRecorder, shell_recorder, G_TYPE_OBJECT);
/* The default pipeline.
*/
-#define DEFAULT_PIPELINE "vp9enc min_quantizer=13 max_quantizer=13 cpu-used=5 deadline=1000000 threads=%T !
queue ! webmmux"
+#define DEFAULT_PIPELINE "vp8enc min_quantizer=13 max_quantizer=13 cpu-used=5 deadline=1000000 threads=%T !
queue ! webmmux"
/* If we can find the amount of memory on the machine, we use half
* of that for memory_target, otherwise, we use this value, in kB.
@@ -1479,7 +1479,7 @@ shell_recorder_set_draw_cursor (ShellRecorder *recorder,
* might be used to send the output to an icecast server
* via shout2send or similar.
*
- * The default value is 'vp9enc min_quantizer=13 max_quantizer=13 cpu-used=5 deadline=1000000 threads=%T !
queue ! webmmux'
+ * The default value is 'vp8enc min_quantizer=13 max_quantizer=13 cpu-used=5 deadline=1000000 threads=%T !
queue ! webmmux'
*/
void
shell_recorder_set_pipeline (ShellRecorder *recorder,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]