splitmuxsink: Add format-location-full signal
authorJan Schmidt <jan@centricular.com>
Thu, 17 Nov 2016 12:40:27 +0000 (23:40 +1100)
committerJan Schmidt <jan@centricular.com>
Mon, 2 Jan 2017 14:34:02 +0000 (01:34 +1100)
commitf7009eb5d7a28a1324e90e05499097c4dcea91c4
tree4f5cf0593193cbff505a641e596b3db40061d90c
parent107902ec514bd826aa29d2298107e2c091e1c779
splitmuxsink: Add format-location-full signal

Add a new signal for formatting the filename, which receives
a GstSample containing the first buffer from the reference
stream that will be muxed into that file.

Useful for creating filenames that are based on the
running time or other attributes of the buffer.

To make it work, opening of files and setting filenames is
now deferred until there is some data to write to it,
which also requires some changes to how async state changes
and gap events are handled.
gst/multifile/gstsplitmuxsink.c
gst/multifile/gstsplitmuxsink.h
tests/check/elements/splitmux.c