mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
settings: add an option to check quantum/rate in settings
Add an option to check if the rate and quantum configured with the settings metadata is in the allowed range. This is false by default, you can use metadata to set any rate/quantum but in a minimal controlled setup you might want to restrict this.
This commit is contained in:
parent
d2114c3f2e
commit
b3e7d2b72a
4 changed files with 28 additions and 4 deletions
|
|
@ -32,6 +32,9 @@ context.properties = {
|
|||
#default.video.rate.num = 25
|
||||
#default.video.rate.denom = 1
|
||||
#
|
||||
settings.check-quantum = true
|
||||
settings.check-rate = true
|
||||
#
|
||||
# These overrides are only applied when running in a vm.
|
||||
vm.overrides = {
|
||||
default.clock.min-quantum = 1024
|
||||
|
|
|
|||
|
|
@ -32,6 +32,9 @@ context.properties = {
|
|||
#default.video.rate.num = 25
|
||||
#default.video.rate.denom = 1
|
||||
#
|
||||
#settings.check-quantum = false
|
||||
#settings.check-rate = false
|
||||
#
|
||||
# These overrides are only applied when running in a vm.
|
||||
vm.overrides = {
|
||||
default.clock.min-quantum = 1024
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue