multiplex: Add mutex to set_buffer_size() in reception_flow
This commit is contained in:
parent
46b5d846a7
commit
d50f743c5b
|
@ -102,6 +102,7 @@ void uvgrtp::reception_flow::destroy_ring_buffer()
|
|||
|
||||
void uvgrtp::reception_flow::set_buffer_size(const ssize_t& value)
|
||||
{
|
||||
std::lock_guard<std::mutex> lg(ring_mutex_);
|
||||
buffer_size_kbytes_ = value;
|
||||
create_ring_buffer();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue