mirror of
https://github.com/Rafostar/clapper.git
synced 2025-09-01 00:41:58 +02:00
Enable ring buffer
This commit is contained in:
@@ -96,6 +96,10 @@ class ClapperPlayerBase extends GstPlayer.Player
|
|||||||
this.set_config_option(option, gstPlayerConfig[option]);
|
this.set_config_option(option, gstPlayerConfig[option]);
|
||||||
|
|
||||||
this.set_mute(false);
|
this.set_mute(false);
|
||||||
|
|
||||||
|
/* FIXME: change into option in preferences */
|
||||||
|
let pipeline = this.get_pipeline();
|
||||||
|
pipeline.ring_buffer_max_size = 8 * 1024 * 1024;
|
||||||
}
|
}
|
||||||
|
|
||||||
set_config_option(option, value)
|
set_config_option(option, value)
|
||||||
|
Reference in New Issue
Block a user