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:
Jan Schmidt 2024-05-10 01:00:08 +10:00
parent 1294264ab9
commit bfdaae81f4

View file

@ -64,7 +64,7 @@ enum
PROP_NUM_OPEN_FRAGMENTS
};
#define DEFAULT_OPEN_FRAGMENTS 0
#define DEFAULT_OPEN_FRAGMENTS 100
enum
{