prebuffering_bytes(serialized.prebuffering_bytes()),
bytes_received(serialized.bytes_received()),
pacing_rate(~0U),
prebuffering_bytes(serialized.prebuffering_bytes()),
bytes_received(serialized.bytes_received()),
pacing_rate(~0U),
assert(suitable_for_stream_start == SUITABLE_FOR_STREAM_START ||
suitable_for_stream_start == NOT_SUITABLE_FOR_STREAM_START);
if (suitable_for_stream_start == SUITABLE_FOR_STREAM_START) {
assert(suitable_for_stream_start == SUITABLE_FOR_STREAM_START ||
suitable_for_stream_start == NOT_SUITABLE_FOR_STREAM_START);
if (suitable_for_stream_start == SUITABLE_FOR_STREAM_START) {
// Hold the lock for as short as possible, since add_data_raw() can possibly
// write to disk, which might disturb the input thread.
// Hold the lock for as short as possible, since add_data_raw() can possibly
// write to disk, which might disturb the input thread.
}
// Update the last suitable starting point for the stream,
// if the queued data contains such a starting point.
}
// Update the last suitable starting point for the stream,
// if the queued data contains such a starting point.
- assert(queued_data_last_starting_point_copy < ssize_t(queued_data_copy.size()));
- if (queued_data_last_starting_point_copy >= 0) {
+ assert(queued_data_last_starting_point_index_copy < ssize_t(queued_data_copy.size()));
+ if (queued_data_last_starting_point_index_copy >= 0) {