Revert "recorder: Switch to vp9"
This reverts commitd183f13456
. 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 commitc61685e617
)
This commit is contained in:
parent
f7fe7bc676
commit
8a8c6e2f23
@ -146,7 +146,7 @@ G_DEFINE_TYPE(ShellRecorder, shell_recorder, G_TYPE_OBJECT);
|
|||||||
|
|
||||||
/* The default pipeline.
|
/* 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
|
/* 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.
|
* 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
|
* might be used to send the output to an icecast server
|
||||||
* via shout2send or similar.
|
* 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
|
void
|
||||||
shell_recorder_set_pipeline (ShellRecorder *recorder,
|
shell_recorder_set_pipeline (ShellRecorder *recorder,
|
||||||
|
Loading…
Reference in New Issue
Block a user