context: disable mlock warnings by default

Make this a tunable option instead.
This commit is contained in:
Wim Taymans 2021-02-08 10:59:02 +01:00
parent cd2a7aebaf
commit 210950dc0a
7 changed files with 25 additions and 9 deletions

View file

@ -56,7 +56,8 @@ struct defaults {
struct spa_rectangle video_size;
struct spa_fraction video_rate;
uint32_t link_max_buffers;
unsigned int mem_allow_mlock;
unsigned int mem_warn_mlock:1;
unsigned int mem_allow_mlock:1;
};
struct ratelimit {