sparsefile: Fix sparsefile on Win32
authorDoug Nazar <nazard@nazar.ca>
Fri, 7 May 2021 03:02:35 +0000 (23:02 -0400)
committerDoug Nazar <nazard@nazar.ca>
Fri, 7 May 2021 03:04:27 +0000 (23:04 -0400)
commit24f0370c2d9795d420ae0ba390686bf9fa3176a8
treedfd1827d19533f13c46df196a1df4348c40f50c6
parentc71805c565b10bf31db239ad46a0768cba9de8b0
sparsefile: Fix sparsefile on Win32

When switching between read/write a fseek() or fflush() is required.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/814>
plugins/elements/gstsparsefile.c