Rename onChunkRead to onNewChunk

This commit is contained in:
badaix 2020-07-05 12:16:33 +02:00
parent 01ce9a60c0
commit ed0521a1d2
7 changed files with 16 additions and 5 deletions

View file

@ -123,7 +123,7 @@ void PosixStream::do_read()
if ((idle_bytes_ == 0) || (idle_bytes_ <= max_idle_bytes_))
{
// the encoder will update the tvEncodedChunk when a chunk is encoded
encoder_->encode(chunk_.get());
onChunkRead(chunk_.get());
}
else
{