Noticed this because the generic_states test kept segfaulting at random.
GLibC 2.37 can crash when NULL is supplied as a format string.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4425>
"construct": false,
"construct-only": false,
"controllable": false,
- "default": "NULL",
+ "default": "%%05d",
"mutable": "null",
"readable": true,
"type": "gchararray",
self->start_index = DEFAULT_START_INDEX;
self->index = 0;
self->stop_index = DEFAULT_STOP_INDEX;
- self->path = NULL;
+ self->path = g_strdup (DEFAULT_LOCATION);
self->caps = NULL;
self->n_frames = 0;
self->fps_n = 30;