Overwrite option for filesink
filesink property which controls does the pipeline fail if the file to write to already exists.
overwrite property (set to
TRUE by default) comes to mind first.
Even though judging from the title #955 may look as proposing that, what is actually requested there is mode for overwriting the file from the beginning unchanged (currently only either truncating or appending to the file is supported), not mode in which the pipeline will fail if the file exists. However, commits from the related merge request (!1532) include new
file-mode property which specifies file opening mode.
When !1532 is finished and merged I will add file opening mode in which opening of the file will fail (and hence also the pipeline) if the file exists.