context: add some more defaults

Make a property to allow mlock and use it.
mlock in stream and filter when asked to mmap mem.
This commit is contained in:
Wim Taymans 2020-02-04 17:09:41 +01:00
parent dcec3f12b5
commit 41b47e726e
8 changed files with 61 additions and 25 deletions

View file

@ -55,6 +55,8 @@ struct defaults {
uint32_t clock_max_quantum;
struct spa_rectangle video_size;
struct spa_fraction video_rate;
uint32_t link_max_buffers;
unsigned int mem_allow_mlock;
};
#define MAX_PARAMS 32