Permalink
Browse files

Start dynamic calculation based on the original file size.

  • Loading branch information...
1 parent 32959bd commit ce3269a146bfd11523b199025bde64677fcb2ea1 @hzeller committed Oct 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 folve-filesystem.cc
View
@@ -263,8 +263,8 @@ class SndFileHandler :
// the filesize as we see it grow. Some clients continuously monitor
// the size of the file to check when to stop.
fstat(filedes_, &file_stat_);
- file_stat_.st_size *= fs->file_oversize_factor();
start_estimating_size_ = 0.4 * file_stat_.st_size;
+ file_stat_.st_size *= fs->file_oversize_factor();
// The flac header we get is more rich than what we can create via
// sndfile. So if we have one, just copy it.

0 comments on commit ce3269a

Please sign in to comment.