downloadbuffer: reset read and write positions
authorWim Taymans <wtaymans@redhat.com>
Tue, 3 Jun 2014 12:49:44 +0000 (14:49 +0200)
committerWim Taymans <wtaymans@redhat.com>
Tue, 3 Jun 2014 12:49:44 +0000 (14:49 +0200)
commit8cbc35a93db9bc220dde95d7953c4aff86906eca
tree3b646dbecca69e46cb2f23a8959595e934d55a12
parent36d4c4c21844c7249126f942a25d54c3664bbd48
downloadbuffer: reset read and write positions

Reset the read and write positions right after we open the file or flush
it. We are also in the buffering state with 0 percent buffered when we
start.
plugins/elements/gstdownloadbuffer.c