mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
splitmuxsrc: Default to only keeping 100 files open
Add a reasonably large default for the number of simulataneous files to open, that won't affect users that split recordings into a few large files, but will help prevent fd exhaustion for users that make recordings with lots of small fragments Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7053>
This commit is contained in:
parent
1294264ab9
commit
bfdaae81f4
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ enum
|
||||||
PROP_NUM_OPEN_FRAGMENTS
|
PROP_NUM_OPEN_FRAGMENTS
|
||||||
};
|
};
|
||||||
|
|
||||||
#define DEFAULT_OPEN_FRAGMENTS 0
|
#define DEFAULT_OPEN_FRAGMENTS 100
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue