More logging tweaks.
This commit is contained in:
parent
cefbcedc9c
commit
a7bfb00083
|
@ -238,6 +238,8 @@ class FileSlices : public FileSlice {
|
||||||
size_ = new_size;
|
size_ = new_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
size_t num_slices() const { return slices_.size(); }
|
||||||
|
|
||||||
int64_t size() const final { return size_; }
|
int64_t size() const final { return size_; }
|
||||||
int64_t AddRange(ByteRange range, EvBuffer *buf,
|
int64_t AddRange(ByteRange range, EvBuffer *buf,
|
||||||
std::string *error_message) const final;
|
std::string *error_message) const final;
|
||||||
|
|
|
@ -548,7 +548,8 @@ class Mp4File : public VirtualFile {
|
||||||
etag_digest->Update(segment->recording.sample_file_sha1);
|
etag_digest->Update(segment->recording.sample_file_sha1);
|
||||||
}
|
}
|
||||||
etag_ = StrCat("\"", ToHex(etag_digest->Finalize()), "\"");
|
etag_ = StrCat("\"", ToHex(etag_digest->Finalize()), "\"");
|
||||||
VLOG(1) << "Constructed .mp4 has " << slices_.size() << " slices.";
|
VLOG(1) << "Constructed .mp4 has " << slices_.num_slices() << " slices for "
|
||||||
|
<< segments_.size() << " segments, " << slices_.size() << " bytes.";
|
||||||
}
|
}
|
||||||
|
|
||||||
time_t last_modified() const final { return last_modified_; }
|
time_t last_modified() const final { return last_modified_; }
|
||||||
|
|
Loading…
Reference in New Issue