you might look at this code in the <a href="https://github.com/GStreamer/gst-plugins-good/blob/master/gst/multifile/gstsplitmuxsink.c" target="_top" rel="nofollow" link="external">gstsplitmuxsink.c</a>. You'll find it there i believe.

        
        
        <div class="signature" style="margin-top:1em;color:#666666;font-size:11px;">
                                ------------------------------
<br/>Gstreamer 1.14.1
<br/>------------------------------
<br/>Windows
                        </div>
<br/><hr align="left" width="300" />
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>