filesink: flush (discard data) on FLUSH_STOP
authorAlessandro Decina <alessandro.d@gmail.com>
Tue, 27 Aug 2013 05:51:35 +0000 (07:51 +0200)
committerAlessandro Decina <alessandro.d@gmail.com>
Tue, 27 Aug 2013 06:00:09 +0000 (08:00 +0200)
commit924acf5e9243496c4d9b7897e17c87b063f9e59d
treeb824774365df78f137ecceb78d607331decb1d7a
parentb19d0518cbd5c2765a9688d6bd225a06bc95e2a2
filesink: flush (discard data) on FLUSH_STOP

Reset the write position to 0 and truncate the file on FLUSH_STOP.
plugins/elements/gstfilesink.c
tests/check/elements/filesink.c