<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 20 juin 2019 04 h 55, arc <<a href="mailto:armondcapp@gmail.com">armondcapp@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a pipeline that implements an output selector to switch between a<br>
filesink and a fakesink. When switching to back to the filesink I'd like to<br>
start from a file size of zero instead of appending to the file. Is there<br>
any way to do this? Currently I'm using the brute force method of file i/o<br>
to open the file with the "wb" flag and then closing before switching back<br>
to the filesink.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Did you try to cycle the sink element through null state while switching ?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></blockquote></div></div></div>