Initial work on downsampling

The http connection is being closed before sending all data. May have something to do with the Range header
This commit is contained in:
Deluan
2016-03-04 13:12:56 -05:00
parent 9a246b5432
commit 7225807bad
10 changed files with 186 additions and 29 deletions
-3
View File
@@ -46,9 +46,6 @@ func (m *MockMediaFile) Get(id string) (*domain.MediaFile, error) {
return nil, errors.New("Error!")
}
mf := m.data[id]
if mf == nil {
mf = &domain.MediaFile{}
}
return mf, nil
}