<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I am trying to composite multiple videos and then filesink them in C application. I wanted to know how to terminate the pipeline after a fixed time (say 10s). I tried using the <span style="background-color: rgb(255, 255, 255);" class=""><span style="white-space: pre;" class="">GST_MESSAGE_DURATION event and terminating from there, but the file is created but not written to. I think I </span><span style="caret-color: rgb(54, 54, 54); white-space: pre;" class="">need to somehow signal to the </span></span><span style="white-space: pre;" class="">file sink element to flush the data before termination.</span><div class=""><span style="white-space: pre;" class=""><br class=""></span></div><div class=""><span style="white-space: pre;" class="">Any help would be </span><span style="caret-color: rgb(54, 54, 54); white-space: pre;" class="">appreciated. Thanks!</span></div></body></html>