hlssink2 -> splitmuxsink format-location-full handler
In 1.14.5, the custom handler for format-location-full in splitmuxsink was expected to return a gchar* with the custom location to store a fragment. Providing a custom handler for this successfully created custom named files and those filenames were passed to the hlssink2, and ended up in the output playlist.
Now (1.20.1), the default on_format_location in hlssink2 returns NULL, and sets a private variable current_location whose value is used to create the appropriate line in the output playlist.
If one now returns a gchar* from a custom handler, and creates a GOutputStream and assigns it to the splitmux giostreamsink, the location isn't seen by hlssink2, current_location isn't updated, the resulting playlist is empty (aside from headers), and an element message is posted indicating "Fragment closed without knowing its location".
I currently can't see any way to have both
- a custom format-location-full handler, and
- working playlist file output
Am I just missing something obvious? Is there a way I can access and set current_location?
If not, would it break any rules to have the hlssink2 provide an equivalent "format-location-full" signal, emitted when the splitmuxsink emits its own, but which would capture the return value, store it in current_location, then pass it as the return value to the splitmuxsink signal handler?