filesink - reset file size to 0 on active stream

arc armondcapp at gmail.com
Thu Jun 20 02:44:53 UTC 2019


I have a pipeline that implements an output selector to switch between a
filesink and a fakesink. When switching to back to the filesink I'd like to
start from a file size of zero instead of appending to the file. Is there
any way to do this? Currently I'm using the brute force method of file i/o
to open the file with the "wb" flag and then closing before switching back
to the filesink.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list