diff --git a/daemon/src/video/shm_sink.cpp b/daemon/src/video/shm_sink.cpp index ab3c4f5937a9727cd57663aaee712f0199a729b9..7ff67e2a6c6137719ecc5e50307ca347e50c146e 100644 --- a/daemon/src/video/shm_sink.cpp +++ b/daemon/src/video/shm_sink.cpp @@ -146,7 +146,7 @@ SHMSink::stop() bool SHMSink::resize_area(size_t desired_length) { - if (desired_length < shm_area_len_) + if (desired_length <= shm_area_len_) return true; shm_unlock();