GNOME Bugzilla – Bug 767513
filesink: create empty files if no buffer was received when doing quick play/stop
Last modified: 2016-11-11 17:15:40 UTC
Created attachment 329584 [details] test case If I quickly set my pipeline to PLAYING state then NULL state, and no buffer had time to arrive to the filesink, it leaves an empty file. The file is opened in GstBaseSrc::start(), I think it should be deleted in GstBaseSrc::stop() if nothing was received inbetween. No?
I would say no :)
I agree, it shouldn't delete the file. It did exactly what was requested IMHO: filesink was started, created the file, no data was received, the file is empty. If anything this should be a property ("delete-empty-file").