Skip to content
  • Tim-Philipp Müller's avatar
    Revert "multifilesink: streamline the file-switch code a bit" · 023998dd
    Tim-Philipp Müller authored
    This reverts commit f1ceaab0.
    
    This broke atomic file writes in "buffer" mode. It did make
    sure that any streamheaders are prepended to each file in
    buffer mode as well, but that's not really needed in practice,
    whereas atomic file writes are, so let's restore the status
    quo ante for now since this was primarily a code cleanup anyway,
    and if anyone needs to streamheaders in buffer mode too they
    can make a patch to implement that differently. Re-implementing
    the atomic writes in the element also seems way too much work.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=766990
    023998dd