filesink: Flush buffers before directly writing out buffers with the SYNC_AFTER flag
authorSebastian Dröge <sebastian@centricular.com>
Tue, 28 Aug 2018 11:22:16 +0000 (14:22 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 28 Aug 2018 11:23:32 +0000 (14:23 +0300)
commitb324e4b802cf15f6f0688df5552ba762b1774844
tree8b9bb2c2d73fab58c6fe7db6737f239400a8a9dc
parent4aeac4b551e2ee0062e5f4a1bdcefa6bec2bfe75
filesink: Flush buffers before directly writing out buffers with the SYNC_AFTER flag

Otherwise we write out the SYNC_AFTER buffer immediately, and the
previously queued up buffers afterwards which then breaks the order of
data.

Also add various debug output.
plugins/elements/gstfilesink.c